users@glassfish.java.net

Re: Help with JPA...

From: <forums_at_java.net>
Date: Wed, 8 Feb 2012 11:08:33 -0600 (CST)

You say you get the NullPointer on the pf.create call? I don't see how it can
be pf that's null as you're referencing that a few lines before. Could you
post the stack trace?

What DB are you using? Are you sure it's actually auto-generating the id
field?

Nick


--
[Message sent by forum member 'nickwi']
View Post: http://forums.java.net/node/883335