[jboss-user] [JBoss Seam] - Re: getting the id of the object inserted...

dhinojosa do-not-reply at jboss.com
Sat Oct 20 23:13:52 EDT 2007


Pojo pojo = new Pojo();
//Fill pojo with info....
entityManager.persist(pojo);
pojo.getId(); //There it is....

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

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



More information about the jboss-user mailing list