Quand on retire le préfixe javax.persitence pour les fichiers d'import, ça marche mieux.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | <exclude-unlisted-classes>false</exclude-unlisted-classes> | 8 | <exclude-unlisted-classes>false</exclude-unlisted-classes> |
9 | <properties> | 9 | <properties> |
10 | <property name="hibernate.hbm2ddl.auto" value="create" /> | 10 | <property name="hibernate.hbm2ddl.auto" value="create" /> |
11 | - <property name="javax.persistence.hibernate.hbm2ddl.import_files" value="import.sql"/> | 11 | + <property name="hibernate.hbm2ddl.import_files" value="import.sql"/> |
12 | <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" /> | 12 | <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" /> |
13 | <!-- DDL control OFF | 13 | <!-- DDL control OFF |
14 | <property name="hibernate.show_sql" value="true"/> | 14 | <property name="hibernate.show_sql" value="true"/> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
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="javax.persistence.hibernate.hbm2ddl.import_files" value="nothing.sql"/> | 29 | + <property name="hibernate.hbm2ddl.import_files" value="nothing.sql"/> |
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