Просмотр исходного кода

Merge branch 'master' into feature-201844-wangcz

suntg 7 лет назад
Родитель
Сommit
19d6e96162
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/META-INF/persistence.xml

+ 1 - 1
src/main/resources/META-INF/persistence.xml

@@ -16,7 +16,7 @@
 				to modify an existing database; value="create-drop" means the same as "create" 
 				but also drops tables when Hibernate closes; value="validate" makes no changes 
 				to the database -->
-			<property name="hibernate.hbm2ddl.auto" value="update" />
+			<property name="hibernate.hbm2ddl.auto" value="none" />
 			<property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.ImprovedNamingStrategy" />
 			<property name="hibernate.connection.charSet" value="UTF-8" />
 			<!-- Uncomment the following two properties for JBoss only -->