users@glassfish.java.net

Re: How to use JPA's EntityManager.persist() in a servlet - mine does not

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Feb 2008 10:25:14 PST

Thank you for your reply.

I have just noticed that the generated entity class was not annotated properly for a generated primary key, even though that was specified in the database schema used to generate the class (using NetBeans). A moment, please, while I figure out the correct annotation.
[Message sent by forum member 'bclyon' (bclyon)]

http://forums.java.net/jive/thread.jspa?messageID=259971