Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
kish kumar
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is hibernate.hbm2ddl.auto property, what is its purpose exactly?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic