Revision 16:d67061c98495

View differences:

src/main/resources/com/ib/hibernate/configuration/hibernate.dev-ora.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.OracleDialect</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
	</session-factory>
46
</hibernate-configuration>
src/main/resources/com/ib/hibernate/configuration/hibernate.staging-ci.cfg.xml
6 6
	<session-factory>
7 7
		<!-- Database connection settings -->
8 8

  
9
		<!-- <property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
10
		<property name="connection.url">jdbc:oracle:thin:@192.168.1.126:1521:IBSDEMO</property> -->
11
		<property name="connection.url">jdbc:oracle:thin:@192.168.56.103:1521:XE</property>
9
		<!-- <property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property> -->
10
		<property name="connection.url">jdbc:oracle:thin:@192.168.1.126:1521:IBSDEMO</property>
12 11
		<property name="hibernate.connection.username">M2U_UPASS_CI</property>
13 12
		<property name="hibernate.connection.password">ci123</property>
14 13
		

Also available in: Unified diff