[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: %%%% Error Creating SessionFactory %%%%

dgeraskov do-not-reply at jboss.com
Thu May 28 01:56:16 EDT 2009


Oracle support siquence. Use it for generating unique id. Why you want to use String as id? Or you don't want to change generated files? It is better to chenage id-type to something better, for example int/Integer. How to use generators see in hibernate documentation, for example here: http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#mapping-declaration-id-generator

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

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



More information about the jboss-user mailing list