How to create and preserve broadleaf database schema
Posted: Sat Sep 08, 2012 7:43 am
In the documentation it is mentioned that if we make blPU.hibernate.hbm2ddl.auto property to update it will not drop the schema.
But the problem here is at the first place we need to create schema for that we use 'create-drop'. When we shutdown the server the schema will be dropped automatically. After that even if we make it 'update' there is no use.
To preserve database, I had to kill the running process forcefully so that it wont get wiped off.
Is there any better way of doing it?
But the problem here is at the first place we need to create schema for that we use 'create-drop'. When we shutdown the server the schema will be dropped automatically. After that even if we make it 'update' there is no use.
To preserve database, I had to kill the running process forcefully so that it wont get wiped off.
Is there any better way of doing it?