Statistics
| Branch: | Revision:

m2u-upass-ws / resources / hibernate.maybank-dev.cfg.xml @ 116:1ce61d19e8a5

History | View | Annotate | Download (2.88 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
<!--
10
                 <property name="connection.url">jdbc:oracle:thin:@172.31.11.50:1521:ibd</property>
11
                <property name="hibernate.connection.username">upassdev</property>
12
                <property name="hibernate.connection.password">upassdev</property>
13
                <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
14
 -->
15
16
                <property name="hibernate.connection.datasource">jdbc/UPassDataSource</property>
17
                <property name="hibernate.jndi.url">t3://172.31.20.101:7010</property>
18
                <property name="hibernate.jndi.class">weblogic.jndi.WLInitialContextFactory</property>
19
20
                <!-- Database connection settings -->
21
                <!-- SQL dialect -->
22
                <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
23
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">false</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>