• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate.hbm2ddl.auto value to do both the operations i.e create/update on database schema?  RSS feed

scott miles
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to know for now, Is it possible in hibernate to create database schema if schema does not exist otherwise update the schema if it is already exist and there are some modification in hbm file with some value for property hibernate.hbm2ddl.auto .

As per my understanding create value will always drop the previous schema and create the new schema ? update value will not create new schema, it will just update the schem if exist a based on hbm.xml. Right?

Mine scheme is local schema not a production schema.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!