hibernate.hbm2ddl.auto value to do both the operations i.e create/update on database schema?
posted 5 years ago
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.