Statistics
| Branch: | Revision:

m2u-upass-ws / resources / hibernate.maybank-prod.cfg.xml @ 115:048753ed13f0

History | View | Annotate | Download (2.41 KB)

1 114:9e876755f394 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
9
                <property name="hibernate.connection.datasource">jdbc/UPassDataSource</property>
10
                <property name="hibernate.jndi.url">t3://172.31.20.101:7010</property>
11
                <property name="hibernate.jndi.class">weblogic.jndi.WLInitialContextFactory</property>
12
13
                <!-- Database connection settings -->
14
                <!-- SQL dialect -->
15
                <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
16
17
                <!-- Enable Hibernate's automatic session context management -->
18
                <property name="current_session_context_class">thread</property>
19
20
                <!-- Disable the second-level cache -->
21
                <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
22
23
                <!-- Echo all executed SQL to stdout -->
24
                <property name="show_sql">false</property>
25
                <property name="format_sql">true</property>
26
27
                <property name="hibernate.hbm2ddl.auto">none</property>
28
29
                <!-- Mapping files -->
30
                <mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" />
31
                <mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" />
32
                <mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" />
33
                <mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" />
34
                <mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" />
35
                <mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" />
36
                <mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" />
37
                <mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" />
38
                <mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" />
39
                <mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
40
                <mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
41
                <mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
42
                <mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
43
                <mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
44
                <mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
45
                <mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
46
        </session-factory>
47
</hibernate-configuration>