Hmmm, after doing a bit of google I found that MySQL 5 does not support 
sequences at all. There are Auto Increment columns possible, but no sequence 
which updates it's value on each "select nextval from sequencename".

Leave the strategy to "AUTO", remove the "@SequenceGenerator" annotation and 
hope that Hibernate uses an appropriate default.

And activate SQL statement logging in your persistence.xml and take a look at 
the statements which are fired against your MySQL. Maybe they provide more info.

Hops this helps

Wolfgang

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

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

Reply via email to