>From the JEE 5 API: anonymous wrote : | The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped superclass in conjunction with the Id annotation. |
Am I correct in saying that this means that you can ONLY use the @GeneratedValue annotation on fields that are Primary Keys. If so, isn't this a limitation of the spec? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946152#3946152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946152 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
