Change Hibernate to verify schema updates only

Added example of override to have Hibernate generate a schema


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-05-15 22:52:31 +00:00
parent d8878a46ed
commit c82ad99529
2 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
hibernate.jdbc.use_streams_for_binary=true
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.show_sql=false
hibernate.hbm2ddl.auto=update
hibernate.hbm2ddl.auto=verify
hibernate.cache.use_query_cache=true
hibernate.max_fetch_depth=10
hibernate.cache.provider_class=org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean

View File

@@ -1,3 +1,6 @@
# Sample Hibernate configuration to enable Hibernate schema updates
#hibernate.hbm2ddl.auto=update
#
# Sample Hibernate configuration for changing Database dialect
#