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

minamti do-not-reply at jboss.com
Sat Oct 20 19:34:05 EDT 2007


This is more of a Hibernate question. Since many Seam users are Hibernate gurus, I am asking on the Seam Forum. 

After I persist an object, how do I obtain the id of the object if the id  was auto increment in the database. My database is MySQL.

Thanks, 

M 

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

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



More information about the jboss-user mailing list