[jboss-user] [EJB 3.0] - Returning @generatedvalue primary key on creation?

KevinNCSU do-not-reply at jboss.com
Wed Jul 11 14:08:16 EDT 2007


Is it possible to retrieve and return the auto-generated primary key that was created for an entity when you persisted it in the database?  I'd like to have the entities primary key be the returned from the method which creates it.

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

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



More information about the jboss-user mailing list