<p>I wonder if it's the same problem I've been fighting.
</p>
<p>You have not said wich JPA implementation are you using.
<br>
I think I've found a bug in the Hibernate implementation of JPA as I describe <a href="
http://javanotepad.blogspot.com/2007/05/ive-found-bug-in-hibernate.html">here</a> (read this if this is your problem).
</p>
<p>
I really think your problem is because you're invoking your create() method twice without you realizing it! That's because of the JSF evaluation. As I have found, this sort of problems happens only with Hibernate EM (It's working fine with Oracle Toplink Essentials).
</p>
[Message sent by forum member 'pucherico' (pucherico)]
http://forums.java.net/jive/thread.jspa?messageID=218229