m2u-upass-min / src / main / resources / hibernate.maybank-prod.cfg.xml @ 113:69201d5a44b7
History | View | Annotate | Download (2.92 KB)
1 |
<?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 |
|
9 |
<property name="connection.url">jdbc:oracle:thin:@172.31.11.50:1521:ibd</property> |
10 |
<property name="hibernate.connection.username">upassdev</property> |
11 |
<property name="hibernate.connection.password">upassdev</property> |
12 |
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property> |
13 |
|
14 |
<!-- Database connection settings -->
|
15 |
<!-- SQL dialect -->
|
16 |
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property> |
17 |
|
18 |
<!-- Use the C3P0 connection pool provider -->
|
19 |
<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property> |
20 |
<property name="hibernate.c3p0.acquire_increment">5</property> |
21 |
<property name="hibernate.c3p0.min_size">20</property> |
22 |
<property name="hibernate.c3p0.max_size">50</property> |
23 |
<property name="hibernate.c3p0.timeout">120</property> |
24 |
<property name="hibernate.c3p0.max_statements">0</property> |
25 |
|
26 |
<!-- Enable Hibernate's automatic session context management -->
|
27 |
<property name="current_session_context_class">thread</property> |
28 |
|
29 |
<!-- Disable the second-level cache -->
|
30 |
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> |
31 |
|
32 |
<!-- Echo all executed SQL to stdout -->
|
33 |
<property name="show_sql">false</property> |
34 |
<property name="format_sql">true</property> |
35 |
|
36 |
<property name="hibernate.hbm2ddl.auto">none</property> |
37 |
|
38 |
<!-- Mapping files -->
|
39 |
<mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" /> |
40 |
<mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" /> |
41 |
<mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" /> |
42 |
<mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" /> |
43 |
<mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" /> |
44 |
<mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" /> |
45 |
<mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" /> |
46 |
<mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" /> |
47 |
<mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" /> |
48 |
<mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" /> |
49 |
<mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" /> |
50 |
<mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" /> |
51 |
<mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" /> |
52 |
<mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" /> |
53 |
<mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" /> |
54 |
<mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" /> |
55 |
</session-factory>
|
56 |
</hibernate-configuration>
|