forked from ajanata/PretendYoureXyzzy
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathhibernate.cfg.xml
More file actions
31 lines (27 loc) · 1.69 KB
/
hibernate.cfg.xml
File metadata and controls
31 lines (27 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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>
<property name="hibernate.dialect">org.hibernate.community.dialect.SQLiteDialect</property>
<property name="hibernate.connection.driver_class">org.sqlite.JDBC</property>
<property name="hibernate.connection.url">jdbc:sqlite:pyx.sqlite</property>
<property name="hibernate.connection.username">pyx</property>
<property name="hibernate.connection.password">CorrectHorseBatteryStaple</property>
<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="hibernate.cache.use_second_level_cache">false</property>
<property name="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<property name="hibernate.cache.use_query_cache">false</property>
<property name="show_sql">false</property>
<property name="format_sql">false</property>
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">300</property>
<property name="hibernate.c3p0.max_statements">50</property>
<property name="hibernate.c3p0.idle_test_period">10</property>
<mapping class="net.socialgamer.cah.db.PyxBlackCard"/>
<mapping class="net.socialgamer.cah.db.PyxWhiteCard"/>
<mapping class="net.socialgamer.cah.db.PyxCardSet"/>
</session-factory>
</hibernate-configuration>