There's maybe something strange in the mapping or the code of the entity. If entity is not considered dirty, it won't be flushed. Are all fields correctly mapped? Are the getter/setter ok? A few idea to troubleshoot:
- You can add an EntityListener to see if @PrePersist or @PreUpdate is triggered.
- Write a unit test for the entity that using JPA stand-alone
- Show SQL generated by Toplink. Maybe SQL statement is sent to db but doesn't result in any visible change.
[Message sent by forum member 'ewernli' (erwann.wernli_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=368559