[jboss-user] [EJB 3.0] - Re: The database returned no natively generated identity val

Wolfgang Knauf do-not-reply at jboss.com
Mon Feb 16 08:09:05 EST 2009

Hi Ramu,

I'm sorry but I fear I don't understand your question.

Do you mean that JBoss should not create tables on deploy? If yes: what is the property "hibernate.hbm2ddl.auto" in your "persistence.xml" set to?

The following snippet creates tables on deploy and drops them on undeploy:
<property name="hibernate.hbm2ddl.auto" value="create-drop" />

Best regards


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

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

More information about the jboss-user mailing list