Revision 116:c9e83c68f266

View differences:

src/main/resources/hibernate.cfg.xml
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>
src/main/resources/hibernate.dev-penril.cfg.xml
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
		<property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
9
		<property name="hibernate.connection.username">M2U_UPASS_CI</property>
10
		<property name="hibernate.connection.password">ci123</property>
11
		
12
		<!-- Database connection settings -->
13
		<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
14
		<!-- SQL dialect -->
15
		<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
16

  
17
		<!-- Use the C3P0 connection pool provider -->
18
		<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
19
		<property name="hibernate.c3p0.acquire_increment">5</property>
20
		<property name="hibernate.c3p0.min_size">20</property>
21
		<property name="hibernate.c3p0.max_size">50</property>
22
		<property name="hibernate.c3p0.timeout">120</property>
23
		<property name="hibernate.c3p0.max_statements">0</property>
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">true</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>
src/main/resources/hibernate.maybank-dev-jndi.cfg.xml
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
<!--
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>
src/main/resources/hibernate.maybank-dev.cfg.xml
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
		<!-- 
49
		<mapping resource="my/com/upass/hibernate/TbAmGemalto.hbm.xml" />
50
		<mapping resource="my/com/upass/hibernate/TbAmVasco.hbm.xml" />
51
		 -->
52
		
53
		<mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
54
		<mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
55
		<mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
56
		<mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
57
		<mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
58
		<mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
59
		<mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
60
	</session-factory>
61
</hibernate-configuration>
src/main/resources/hibernate.maybank-prod-jndi.cfg.xml
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="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>
src/main/resources/hibernate.maybank-prod.cfg.xml
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>
src/main/resources/hibernate.staging-ci.cfg.xml
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
		<!-- <property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property> -->
9
		<property name="connection.url">jdbc:oracle:thin:@192.168.1.126:1521:IBSDEMO</property>
10
		<property name="hibernate.connection.username">M2U_UPASS_CI</property>
11
		<property name="hibernate.connection.password">ci123</property>
12
		<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
13
		<!-- SQL dialect -->
14
		<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
15

  
16
		<!-- Use the C3P0 connection pool provider -->
17
		<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
18
		<property name="hibernate.c3p0.acquire_increment">5</property>
19
		<property name="hibernate.c3p0.min_size">20</property>
20
		<property name="hibernate.c3p0.max_size">50</property>
21
		<property name="hibernate.c3p0.timeout">120</property>
22
		<property name="hibernate.c3p0.max_statements">0</property>
23
		<!-- Enable Hibernate's automatic session context management -->
24
		<property name="current_session_context_class">thread</property>
25

  
26
		<!-- Disable the second-level cache -->
27
		<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
28

  
29
		<!-- Echo all executed SQL to stdout -->
30
		<property name="show_sql">false</property>
31
		<property name="format_sql">true</property>
32

  
33
		<property name="hibernate.hbm2ddl.auto">none</property>
34

  
35
		<!-- Mapping files -->
36
		<mapping resource="my/com/upass/hibernate/TbAmUsermas.hbm.xml" />
37
		<mapping resource="my/com/upass/hibernate/TbAmUser.hbm.xml" />
38
		<mapping resource="my/com/upass/hibernate/TbAmTac.hbm.xml" />
39
		<mapping resource="my/com/upass/hibernate/TbAmAppserv.hbm.xml" />
40
		<mapping resource="my/com/upass/hibernate/TbAmConfig.hbm.xml" />
41
		<mapping resource="my/com/upass/hibernate/TbAmSecurityCode.hbm.xml" />
42
		<mapping resource="my/com/upass/hibernate/TbAmUserBackup.hbm.xml" />
43
		<mapping resource="my/com/upass/hibernate/TbAmUsermasBackup.hbm.xml" />
44
		<mapping resource="my/com/upass/hibernate/TbAmTacBackup.hbm.xml" />
45
		<!-- 
46
		<mapping resource="my/com/upass/hibernate/TbAmGemalto.hbm.xml" />
47
		<mapping resource="my/com/upass/hibernate/TbAmVasco.hbm.xml" />
48
		 -->
49
		 
50
		<mapping resource="my/com/upass/hibernate/ClientApp.hbm.xml" />
51
		<mapping resource="my/com/upass/hibernate/UserAppAccess.hbm.xml" />
52
		<mapping resource="my/com/upass/maybank/entities/hibernate/IbccUser.hbm.xml" />
53
		<mapping resource="my/com/upass/maybank/entities/hibernate/Im2uUser.hbm.xml" />
54
		<mapping resource="my/com/upass/maybank/entities/hibernate/M2uUser.hbm.xml" />
55
		<mapping resource="my/com/upass/maybank/entities/hibernate/StockUser.hbm.xml" />
56
		<mapping resource="my/com/upass/maybank/entities/hibernate/TicketingUser.hbm.xml" />
57
	</session-factory>
58
</hibernate-configuration>
src/main/resources/sample-hibernate.cfg.xml
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>
src/main/resources/sample-spring-ldap.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
3
<beans>
4
    <bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
5
        <property name="url" value="ldap://172.31.11.36:389" />
6
        <!-- property name="url" value="ldaps://172.31.11.36:636" /-->
7
        <property name="userDn" value="cn=Directory Manager" />
8
        <property name="password" value="password" />
9
    </bean>
10
    <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
11
        <constructor-arg ref="contextSource" />
12
    </bean>
13
    <bean id="maybankLdap" class="my.com.upass.spring.ldap.MaybankLdapDAOImpl">
14
        <property name="ldapTemplate" ref="ldapTemplate" />
15
        <property name="base" value="ou=People,o=maybank"/>
16
        <property name="usernameAttrName" value="mbbuserid"/>
17
        <property name="baseTicketing" value="ou=WebLogic,o=maybank"/>
18
        <property name="uidAttrName" value="uid"/>
19
    </bean>
20
</beans>
src/main/resources/sample-upassMin.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
src/main/resources/spring-ldap.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
3
<beans>
4
    <bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
5
        <property name="url" value="ldap://172.31.11.36:389" />
6
        <!-- property name="url" value="ldaps://172.31.11.36:636" /-->
7
        <property name="userDn" value="cn=Directory Manager" />
8
        <property name="password" value="password" />
9
    </bean>
10
    <bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
11
        <constructor-arg ref="contextSource" />
12
    </bean>
13
    <bean id="maybankLdap" class="my.com.upass.spring.ldap.MaybankLdapDAOImpl">
14
        <property name="ldapTemplate" ref="ldapTemplate" />
15
        <property name="base" value="ou=People,o=maybank"/>
16
        <property name="usernameAttrName" value="mbbuserid"/>
17
        <property name="baseTicketing" value="ou=WebLogic,o=maybank"/>
18
        <property name="uidAttrName" value="uid"/>
19
    </bean>
20
</beans>
src/main/resources/upassMin.dev-penril.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Database Connection Info for testing
6
#DB_DRIVER=oracle.jdbc.driver.OracleDriver
7
DB_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
8
#DB_URL=jdbc:oracle:thin:@demosvr1.penril.net:12311:IBSDEMO
9
DB_URL=jdbc:sqlserver://demosvr1.penril.net:1433;databaseName=xxxxib
10
#DB_URL=jdbc:oracle:thin:@localhost:1521:XE
11
DB_USERNAME=xxxx_ib
12
DB_PASSWORD=123456
13

  
14
# Database Connection info for JNDI
15
# org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@bb2f6e
16
DB_USE_JNDI=N
17
DB_DATASRC_REF=java:OracleUpassDS
18

  
19
# Flag to get parameters from Database
20
DB_USE_SETTING=1
21

  
22
# Migration period flag
23
MIGRATION_PERIOD=N
src/main/resources/upassMin.maybank-dev-jndi.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
src/main/resources/upassMin.maybank-dev.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Database Connection Info for testing
6
DB_DRIVER=oracle.jdbc.driver.OracleDriver
7
DB_URL=jdbc:oracle:thin:@172.31.11.50:1521:ibd
8
DB_USERNAME=upassdev
9
DB_PASSWORD=upassdev
10

  
11
# Database Connection info for JNDI
12
# org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@bb2f6e
13
DB_USE_JNDI=N
14
DB_DATASRC_REF=java:OracleUpassDS
15

  
16
# Flag to get parameters from Database
17
DB_USE_SETTING=1
18

  
19
# Migration period flag
20
MIGRATION_PERIOD=Y
src/main/resources/upassMin.maybank-prod-jndi.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
src/main/resources/upassMin.maybank-prod.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Database Connection Info for testing
6
DB_DRIVER=oracle.jdbc.driver.OracleDriver
7
DB_URL=jdbc:oracle:thin:@172.31.11.50:1521:ibd
8
DB_USERNAME=upassdev
9
DB_PASSWORD=upassdev
10

  
11
# Database Connection info for JNDI
12
# org.jboss.resource.adapter.jdbc.jdk5.WrappedConnectionJDK5@bb2f6e
13
DB_USE_JNDI=N
14
DB_DATASRC_REF=java:OracleUpassDS
15

  
16
# Flag to get parameters from Database
17
DB_USE_SETTING=1
18

  
19
# Migration period flag
20
MIGRATION_PERIOD=Y
src/main/resources/upassMin.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=Y
src/main/resources/upassMin.staging-ci.properties
1
# NOTE:
2
# Make sure there is no tailing space at the parameter, eg "...=3" and not "...=3  "
3
# Tailing space will cause "ERR: property Not Found" exception.
4

  
5
# Flag to get parameters from Database
6
DB_USE_SETTING=1
7

  
8
# Migration period flag
9
MIGRATION_PERIOD=N

Also available in: Unified diff