Page 1 of 1

How to create and preserve broadleaf database schema

Posted: Sat Sep 08, 2012 7:43 am
by gk12
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?

Re: How to create and preserve broadleaf database schema

Posted: Sun Sep 09, 2012 9:32 pm
by phillipuniverse
You can initially set the ddl to "create" which will not drop the schema on shutdown.

Re: How to create and preserve broadleaf database schema

Posted: Mon Sep 10, 2012 11:56 pm
by gk12
thank you..!