I have JBoss 4.2.2GA and MySQL5. My application is using EJB3 entity beans the 
ID fields of which are annotated with @GeneratedValue

For portability reasons I don't want to use MySQL's auto incrementation and 
would prefer a simple "sequence" table. Fortunately Hibernate has exactly what 
I need, i.e. org.hibernate.id.enhanced.SequenceStyleGenerator.

The question: how to configure JBoss to use Hibernate's SequenceStyleGenerator 
for EJB3 entities?



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

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

Reply via email to