[jboss-user] [JBoss Seam] - Re: Create New Entity -> Page Round Trip & Update autoincrem

griffitm do-not-reply at jboss.com
Tue Oct 9 14:56:29 EDT 2007


Since I seem to be having this conversation with myself, I thought I'd post the solution so I would know what I did wrong.  When I used seamgen to generate the entities seam generate-entities It did not properly add the @GeneratedValue annotation to the entity class for the autoincrement field in the table. I'm not sure if this is a hibernate defect, seamgen defect or user error --but it sure was looking for a needle in a haystack. 

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

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



More information about the jboss-user mailing list