Setting "blPU.hibernate.hbm2ddl.auto=update" breaks demo
Posted: Wed Mar 18, 2015 9:06 am
Hi, I've set up my demo to run in tomcat + postgresql, after the several restart, I changed "blPU.hibernate.hbm2ddl.auto" to "update", then the demo site throws errors when opening pages:
setting "blPU.hibernate.hbm2ddl.auto" back to "create-drop" will fix the problem.
Another question is, how to tell solr not to rebuild all indexes on start during development?
I am using version 3.1.2-GA
Any pointer is appreciated. Thanks.
Code: Select all
org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'localeCode' cannot be found on null
setting "blPU.hibernate.hbm2ddl.auto" back to "create-drop" will fix the problem.
Another question is, how to tell solr not to rebuild all indexes on start during development?
I am using version 3.1.2-GA
Any pointer is appreciated. Thanks.