How about following parameters for @GeneratedValue annotations.
strategy = GenerationType.AUTO
http://www.jboss.org/community/wiki/GeneratedValue
http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#map...
How about two different mapping file for this Entity depending on environment ? downside
is you have 2 create mapping configuration files.
If you come across a solution, please share.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237282#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...