[jboss-user] [EJB 3.0] - Re: entityManager.find() returns null

app4you@yahoo.com do-not-reply at jboss.com
Tue Sep 19 08:15:03 EDT 2006

Hi Tom,

I can only suggest that use Number, in Oracle, as primary key.  It's not a good practice to use character as primary key for reasons.  Once you done that,  make sure your entity bean has the @Id getPrimaryKey(){return primaryKey;}.  They you can use the find method without a problem.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972553#3972553

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972553

More information about the jboss-user mailing list