[jboss-user] [EJB 3.0] - Re: Database independent persistence

vjtech20nn do-not-reply at jboss.com
Fri Jun 12 09:27:07 EDT 2009

How about following parameters for @GeneratedValue  annotations. 

strategy = GenerationType.AUTO



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#4237282

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237282

More information about the jboss-user mailing list