Statistics
| Branch: | Revision:

m2u-upass-ws / resources / hibernate.dev-penril.cfg.xml @ 114:9e876755f394

History | View | Annotate | Download (3.06 KB)

1 109:b048ceb5bbbb hadi
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
3
                                         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
4
5
<hibernate-configuration>
6
        <session-factory>
7
                <!-- Database connection settings -->
8
                <property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
9
                <property name="hibernate.connection.username">M2U_UPASS_CI</property>
10
                <property name="hibernate.connection.password">ci123</property>
11
12
                <!-- Database connection settings -->
13
                <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
14
                <!-- SQL dialect -->
15
                <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
16
17
                <!-- Use the C3P0 connection pool provider -->
18
                <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
19
                <property name="hibernate.c3p0.acquire_increment">5</property>
20
                <property name="hibernate.c3p0.min_size">20</property>
21
                <property name="hibernate.c3p0.max_size">50</property>
22
                <property name="hibernate.c3p0.timeout">120</property>
23
                <property name="hibernate.c3p0.max_statements">0</property>
24
                <!-- Enable Hibernate's automatic session context management -->
25
                <property name="current_session_context_class">thread</property>
26
27
                <!-- Disable the second-level cache -->
28
                <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
29
30
                <!-- Echo all executed SQL to stdout -->
31
                <property name="show_sql">true</property>
32
                <property name="format_sql">true</property>
33
34
                <property name="hibernate.hbm2ddl.auto">none</property>
35
36
                <!-- Mapping files -->
37
                <mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" />
38
                <mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" />
39
                <mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" />
40
                <mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" />
41
                <mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" />
42
                <mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" />
43
                <mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" />
44
                <mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" />
45
                <mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" />
46
                <!--
47
                <mapping resource="my/com/upass/hibernate/TbAmGemalto.hbm.xml" />
48
                <mapping resource="my/com/upass/hibernate/TbAmVasco.hbm.xml" />
49
                 -->
50
51
                <mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
52
                <mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
53
                <mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
54
                <mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
55
                <mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
56
                <mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
57
                <mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
58
        </session-factory>
59
</hibernate-configuration>