Dont ever use property "<prop key="hibernate.hbm2ddl.auto">create</prop>"
There is a property in hibernate configurations to create the schema/database based on the object model which is a very drawback in hibernate's history and the property is : create
Dont ever ever use this property which will not atleast show a warning message when deleting the data or schema itself from the database connected.
No comments:
Post a Comment