Statistics
| Branch: | Revision:

m2u-upass-min / src / main / resources / sample-hibernate.cfg.xml @ 120:a9f1f5b7505b

History | View | Annotate | Download (2.62 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:@localhost:1521:XE</property>
10
                <property name="hibernate.connection.username">M2U_UPASS_CI</property>
11
                <property name="hibernate.connection.password">ci123</property>
12
                
13
                <!-- Database connection settings -->
14
                <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
15
                <!-- SQL dialect -->
16
                <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
17

    
18
                <!-- Enable Hibernate's automatic session context management -->
19
                <property name="current_session_context_class">thread</property>
20

    
21
                <!-- Disable the second-level cache -->
22
                <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
23

    
24
                <!-- Echo all executed SQL to stdout -->
25
                <property name="show_sql">true</property>
26
                <property name="format_sql">true</property>
27

    
28
                <property name="hibernate.hbm2ddl.auto">none</property>
29

    
30
                <!-- Mapping files -->
31
                <mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" />
32
                <mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" />
33
                <mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" />
34
                <mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" />
35
                <mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" />
36
                <mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" />
37
                <mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" />
38
                <mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" />
39
                <mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" />
40
                <!-- 
41
                <mapping resource="my/com/upass/hibernate/TbAmGemalto.hbm.xml" />
42
                <mapping resource="my/com/upass/hibernate/TbAmVasco.hbm.xml" />
43
                 -->
44
                 
45
                <mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
46
                <mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
47
                <mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
48
                <mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
49
                <mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
50
                <mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
51
                <mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
52
        </session-factory>
53
</hibernate-configuration>