[jboss-user] [EJB 3.0] - Re: How to get generated id after persiting an entity?

mike_ap do-not-reply at jboss.com
Thu Oct 23 10:21:46 EDT 2008


I deleted all the records from the table so I know I am looking at the correct row and column.

Eureka! I know what the problem is!

I have a trigger in the database that creates a new Id on each record.
I dropped the trigger and the Id's are in sync now!






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

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



More information about the jboss-user mailing list