[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

itsme do-not-reply at jboss.com
Fri Jun 15 06:17:37 EDT 2007


hi folks,

you should get around this by setting strategy to GenreationType.TABLE. This should result in a table created at database named hibernate_sequences (or something similar). This table provides the next id as an integer mapped by the name of the entity as key.

maybe this could help.

regards

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

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



More information about the jboss-user mailing list