Shouldn't the "@GeneratedValue" annotation declare a sequence strategy (instead 
of "Auto")?

@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = 
"projectid_sequence")

Which database do you use?

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209822
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to