Page 1 of 1

HTTP ERROR 404

Posted: Sat Jun 14, 2014 2:00 am
by anandc8788
Hi,

I have migrated from app Db to MySQL.
Store workes fine when I keep below line

Code: Select all

blPU.hibernate.hbm2ddl.auto=create-drop


However, an <<HTTP ERROR 404>> error is being thrown whenever I change the development.properties to

Code: Select all

blPU.hibernate.hbm2ddl.auto=update


Please help !

Regards,
Anand Chavan

Re: HTTP ERROR 404

Posted: Sat Jun 14, 2014 11:24 am
by phillipuniverse
Change the value to create:

Code: Select all

blPU.hibernate.hbm2ddl.auto=create


Start up the site application. Then shutdown. Then change the value to update:

Code: Select all

blPU.hibernate.hbm2ddl.auto=update


The reason you are getting the 404 is because the 'update' value does not execute any of the import SQL. If you start up with create, it will create all the tables and import the sql. Then when you start back up with 'update' all of your data will still be there.

Re: HTTP ERROR 404

Posted: Sat Oct 18, 2014 8:13 am
by babaladla123
Just verified in the Broadleaf project, we only have a single instance of this query name in the framework. Can you verify that you don't have a query with this name anywhere in your project

Re: HTTP ERROR 404

Posted: Tue Nov 04, 2014 5:47 pm
by phillipuniverse
@babaladla123 what query?