This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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: 427

http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what is hibernate.hbm2ddl.auto property, what is its purpose exactly?
 
It's not a secret anymore!