[jboss-user] [JBoss Seam] - seam-gen and @GeneratedValue

andyd do-not-reply at jboss.com
Fri Mar 23 10:30:06 EDT 2007


Hi,
Usng the new-entity switch for seam.bat generates an entity with the above annotation on the id field.  However I don't seem to be able to get the same behavior with generate-entities.  Is there something I should do in the database schema for this to happen?  Currenly using mysql 5 and the id field is set as auto incrementing.

Otherwise this tool is really sweet!

Thanks,
Andy.

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

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



More information about the jboss-user mailing list