aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-06-07 11:50:13 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-06-07 11:50:13 +0200
commit1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0 (patch)
tree305292fcf059560379307278edd0e99471ef2ae0 /id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml
parent261294df86c33105eb2113808fc6f171e9250ac7 (diff)
downloadmoa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.tar.gz
moa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.tar.bz2
moa-id-spss-1c0d27a1d5da91019ed2f51d4184282ea7ffe4f0.zip
Common classes for Hibernate initializing and database handling
Diffstat (limited to 'id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml')
-rw-r--r--id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml b/id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml
new file mode 100644
index 000000000..32dd7d9f6
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/resources/hibernate.cfg.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE hibernate-configuration PUBLIC
+"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+ <session-factory>
+ <!-- Mapping files -->
+ <mapping class="at.gv.egovernment.moa.id.commons.db.dao.AssertionStore"/>
+ </session-factory>
+</hibernate-configuration> \ No newline at end of file