Statistics
| Branch: | Revision:

m2u-upass-admin / resource / hibernate.cfg.xml @ 155:4c6a38c6bf10

History | View | Annotate | Download (4.91 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
3
                                         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
4
<hibernate-configuration>
5
        <session-factory>
6
                <!-- Database connection settings 
7
                <property name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
8
                <property name="connection.url">jdbc:sqlserver://demosvr1.penril.net:1433;databaseName=agroib_db-phase2</property>
9
                <property name="connection.username">agroib_user</property>
10
                <property name="connection.password">P@$$w0rd</property>
11
                <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
12
                
13
                
14
                <property name="connection.url">jdbc:oracle:thin:@192.168.1.126:1521:IBSDEMO</property>
15
                -->
16
                <property name="connection.url">jdbc:oracle:thin:@172.31.11.50:1521:ibd</property>
17
                <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
18
                <property name="connection.username">upassdev</property>
19
                <property name="connection.password">upassdev</property>
20
                <property name="dialect">org.hibernate.dialect.OracleDialect</property>
21
                                                
22
                <!-- Use the C3P0 connection pool provider -->
23
                <!-- 
24
                <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
25
                <property name="hibernate.c3p0.acquire_increment">1</property>
26
                <property name="hibernate.c3p0.min_size">0</property>
27
                <property name="hibernate.c3p0.max_size">500</property>
28
                <property name="hibernate.c3p0.timeout">0</property>
29
                <property name="hibernate.c3p0.max_statements">0</property>
30
                 -->
31
                
32
                <!-- Enable Hibernate's automatic session context management -->
33
                <property name="current_session_context_class">thread</property>
34
                <!-- Disable the second-level cache -->
35
                <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
36
                <!-- Echo all executed SQL to stdout -->
37
                <property name="show_sql">false</property>
38
                <property name="format_sql">true</property>
39
                <property name="hibernate.hbm2ddl.auto">none</property>
40
                <!-- Mapping files -->
41
                <mapping resource="net/penril/ibss/core/hibernate/AdminAction.hbm.xml" />
42
                <mapping resource="net/penril/ibss/audit/log/hibernate/AdminAuditLog.hbm.xml" />
43
                <mapping resource="net/penril/ibss/core/hibernate/AdminGroup.hbm.xml" />
44
                <mapping resource="net/penril/ibss/core/hibernate/AdminNavigation.hbm.xml" />
45
                <mapping resource="net/penril/ibss/core/hibernate/AdminNavAction.hbm.xml" />
46
                <mapping resource="net/penril/ibss/core/hibernate/AdminNavigationGroup.hbm.xml" />
47
                <mapping resource="net/penril/ibss/core/hibernate/AdminPermission.hbm.xml" />
48
                <mapping resource="net/penril/ibss/core/hibernate/AdminUserProfile.hbm.xml" />
49
                <mapping resource="net/penril/ibss/core/hibernate/AdminUserProfileBackup.hbm.xml" />
50
                <mapping resource="net/penril/ibss/core/hibernate/AdminSecurity.hbm.xml" />
51
                <mapping resource="net/penril/ibss/core/hibernate/AdminUserSecurityBackup.hbm.xml" />
52
                <mapping resource="net/penril/ib/content/hibernate/IbContentCategory.hbm.xml" />
53
                <mapping resource="net/penril/ib/content/hibernate/IbContentType.hbm.xml" />
54
                <mapping resource="net/penril/ibss/core/hibernate/IbUser.hbm.xml" />
55
                <mapping resource="net/penril/ibss/core/hibernate/IbCustProfile.hbm.xml" />
56
                <mapping resource="net/penril/ibss/core/hibernate/SmsTable.hbm.xml" />
57
                <mapping resource="my/com/upass/hibernate/TbAmConfigChange.hbm.xml" />
58
                <mapping resource="my/com/upass/hibernate/TbAmGemalto.hbm.xml" />
59
                <mapping resource="my/com/upass/hibernate/TbAmVasco.hbm.xml" />
60
                <mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" />
61
                <mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" />
62
                <mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" />
63
                <mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" />
64
                <mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" />
65
                <mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" />
66
                <mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" />
67
                <mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" />
68
                <mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" />
69

    
70
                <mapping resource="net/penril/ib/content/hibernate/IbContentCategoryML.hbm.xml" />
71
                
72
                <mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
73
                <mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
74
                <mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
75
                <mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
76
                <mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
77
                <mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
78
                <mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
79

    
80
        </session-factory>
81
</hibernate-configuration>