Configuration persistence migration (refactoring nommage et configuration)
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -17,16 +17,16 @@ | ... | @@ -17,16 +17,16 @@ |
17 | </properties> | 17 | </properties> |
18 | </persistence-unit> | 18 | </persistence-unit> |
19 | 19 | ||
20 | - <persistence-unit name="v3-pu" transaction-type="JTA"> | 20 | + <persistence-unit name="migration-pu" transaction-type="JTA"> |
21 | <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | 21 | <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> |
22 | - <jta-data-source>v3Database</jta-data-source> | 22 | + <jta-data-source>migrationDatabase</jta-data-source> |
23 | <exclude-unlisted-classes>false</exclude-unlisted-classes> | 23 | <exclude-unlisted-classes>false</exclude-unlisted-classes> |
24 | <properties> | 24 | <properties> |
25 | <property name="hibernate.connection.CharSet" value="utf8"/> | 25 | <property name="hibernate.connection.CharSet" value="utf8"/> |
26 | <property name="hibernate.connection.characterEncoding" value="utf8"/> | 26 | <property name="hibernate.connection.characterEncoding" value="utf8"/> |
27 | <property name="hibernate.connection.useUnicode" value="true"/> | 27 | <property name="hibernate.connection.useUnicode" value="true"/> |
28 | <property name="hibernate.hbm2ddl.auto" value="create-drop" /> | 28 | <property name="hibernate.hbm2ddl.auto" value="create-drop" /> |
29 | - <property name="hibernate.hbm2ddl.import_files" value="import.sql"/> | 29 | + <property name="hibernate.hbm2ddl.import_files" value=""/> |
30 | <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" /> | 30 | <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" /> |
31 | <!-- DDL control OFF | 31 | <!-- DDL control OFF |
32 | <property name="hibernate.show_sql" value="true"/> | 32 | <property name="hibernate.show_sql" value="true"/> | ... | ... |
-
Please register or login to post a comment