From dcda71cc643a628704b4d5840ed35d6552cbc69b Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 22 Nov 2011 16:50:58 +0100 Subject: add java-hibernate test --- java-hibernate/cfg/basic/Event.hbm.xml | 41 +++++++++++++++++++++ java-hibernate/cfg/basic/hibernate.cfg.xml | 58 ++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 java-hibernate/cfg/basic/Event.hbm.xml create mode 100644 java-hibernate/cfg/basic/hibernate.cfg.xml (limited to 'java-hibernate/cfg/basic') diff --git a/java-hibernate/cfg/basic/Event.hbm.xml b/java-hibernate/cfg/basic/Event.hbm.xml new file mode 100644 index 0000000..3e5fbf3 --- /dev/null +++ b/java-hibernate/cfg/basic/Event.hbm.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + diff --git a/java-hibernate/cfg/basic/hibernate.cfg.xml b/java-hibernate/cfg/basic/hibernate.cfg.xml new file mode 100644 index 0000000..b407572 --- /dev/null +++ b/java-hibernate/cfg/basic/hibernate.cfg.xml @@ -0,0 +1,58 @@ + + + + + + + + + + org.h2.Driver + jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE + sa + + + + 1 + + + org.hibernate.dialect.H2Dialect + + + org.hibernate.cache.NoCacheProvider + + + true + + + create + + + + + + -- cgit v1.2.3