GeeCON Prague 2014*
The moose likes Other Application Frameworks and the fly likes what is hibernate.hbm2ddl.auto property, what is its purpose exactly? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "what is hibernate.hbm2ddl.auto property, what is its purpose exactly?" Watch "what is hibernate.hbm2ddl.auto property, what is its purpose exactly?" New topic
Author

what is hibernate.hbm2ddl.auto property, what is its purpose exactly?

kish kumar
Ranch Hand

Joined: Jan 03, 2008
Posts: 54
what is hibernate.hbm2ddl.auto property, what is its purpose exactly?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

It allows you to generate DDL from mapped classes. You can use this is you don't want the overhead of maintaining your own database scripts, however you need to be aware that the data model Hibernate generates this way and the data model you might want may be different.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html
 
GeeCON Prague 2014
 
subject: what is hibernate.hbm2ddl.auto property, what is its purpose exactly?