Hello, I am having problems with the EJB3.0 concept of being able to update and merge a detached instance of an entity bean. I successfully call the create() mathod, which is really a wrapper for em.persist (entity). However, immediately after, I am returned a null pointer when I attempt to find the newly created entity with a dao.find(pk), which is really a wrapper for em.find(entity class,pk). What would cause this? I can see the entity entry in the database using the DatabseExplorer, and the EJB docs state that I should be able to call up an entity out of the database for a detached update and merge? I am using jboss-EJB-3.0_RC5-PFD, JBoss 4.0.4.GA, and an Oracle 10G database.
Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961884#3961884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961884 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user