projects
/
hibernate4-maven-plugin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Configured the 5.1.17-tutorials as integration-tests for the plugin
[hibernate4-maven-plugin]
/
src
/
it
/
tutorials-5.1.17
/
annotations
/
src
/
test
/
resources
/
hibernate.cfg.xml
diff --git
a/src/it/tutorials-5.1.17/annotations/src/test/resources/hibernate.cfg.xml
b/src/it/tutorials-5.1.17/annotations/src/test/resources/hibernate.cfg.xml
index
a9590c1
..
df29d83
100644
(file)
--- a/
src/it/tutorials-5.1.17/annotations/src/test/resources/hibernate.cfg.xml
+++ b/
src/it/tutorials-5.1.17/annotations/src/test/resources/hibernate.cfg.xml
@@
-15,7
+15,7
@@
<!-- Database connection settings -->
<property name="connection.driver_class">org.h2.Driver</property>
<!-- Database connection settings -->
<property name="connection.driver_class">org.h2.Driver</property>
- <property name="connection.url">jdbc:h2:
mem:db1;DB_CLOSE_DELAY=-1
;MVCC=TRUE</property>
+ <property name="connection.url">jdbc:h2:
${project.build.directory}/db/test
;MVCC=TRUE</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
@@
-31,9
+31,6
@@
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
- <!-- Drop and re-create the database schema on startup -->
- <property name="hbm2ddl.auto">create</property>
-
<!-- Names the annotated entity class -->
<mapping class="org.hibernate.tutorial.annotations.Event"/>
<!-- Names the annotated entity class -->
<mapping class="org.hibernate.tutorial.annotations.Event"/>