[jboss-user] [JBoss Seam] - Re: EntityHome.persist - Getting the generated id?
dustismo
do-not-reply at jboss.com
Wed Feb 28 17:06:31 EST 2007
hmm.. If I set
| @GeneratedValue(strategy = GenerationType.IDENTITY
|
on the id column of the entity it works.. I thought that GenerationType.AUTO would select IDENTITY when the database type is mysql?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023996#4023996
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023996
More information about the jboss-user
mailing list