PageRenderTime 32ms CodeModel.GetById 25ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/tst/org/diffkit/diff/testcase/test24.dbsetup.xml

http://diffkit.googlecode.com/
XML | 115 lines | 101 code | 14 blank | 0 comment | 0 complexity | 00a657a5042560da5b8756f4462150fc MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2
  3<beans xmlns="http://www.springframework.org/schema/beans"
  4	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5	xsi:schemaLocation="http://www.springframework.org/schema/beans
  6http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
  7
  8	<bean id="rhs.table" class="org.diffkit.db.DKDBTable">
  9		<constructor-arg index="0">
 10			<null />
 11		</constructor-arg>
 12		<constructor-arg index="1">
 13			<null />
 14		</constructor-arg>
 15		<constructor-arg index="2" value="TEST24_RHS_TABLE" />
 16		<constructor-arg index="3">
 17			<list>
 18				<ref bean="rhs.column1" />
 19				<ref bean="rhs.column2" />
 20				<ref bean="rhs.column3" />
 21			</list>
 22		</constructor-arg>
 23		<constructor-arg index="4" ref="rhs.pk" />
 24	</bean>
 25
 26	<bean id="rhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 27		<constructor-arg index="0" value="test24_rhs_pk" />
 28		<constructor-arg index="1">
 29			<list>
 30				<value>COLUMN1</value>
 31			</list>
 32		</constructor-arg>
 33	</bean>
 34
 35	<bean id="lhs.table" class="org.diffkit.db.DKDBTable">
 36		<constructor-arg index="0">
 37			<null />
 38		</constructor-arg>
 39		<constructor-arg index="1">
 40			<null />
 41		</constructor-arg>
 42		<constructor-arg index="2" value="TEST24_LHS_TABLE" />
 43		<constructor-arg index="3">
 44			<list>
 45				<ref bean="lhs.column1" />
 46				<ref bean="lhs.column2" />
 47				<ref bean="lhs.column3" />
 48			</list>
 49		</constructor-arg>
 50		<constructor-arg index="4" ref="lhs.pk" />
 51	</bean>
 52
 53	<bean id="lhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 54		<constructor-arg index="0" value="test24_lhs_pk" />
 55		<constructor-arg index="1">
 56			<list>
 57				<value>COLUMN1</value>
 58			</list>
 59		</constructor-arg>
 60	</bean>
 61
 62	<bean id="rhs.column1" class="org.diffkit.db.DKDBColumn">
 63		<constructor-arg index="0" value="COLUMN1" />
 64		<constructor-arg index="1" value="1" />
 65		<constructor-arg index="2" value="VARCHAR" />
 66		<constructor-arg index="3" value="128" />
 67		<constructor-arg index="4" value="true" />
 68	</bean>
 69
 70	<bean id="rhs.column2" class="org.diffkit.db.DKDBColumn">
 71		<constructor-arg index="0" value="COLUMN2" />
 72		<constructor-arg index="1" value="2" />
 73		<constructor-arg index="2" value="CLOB" />
 74		<constructor-arg index="3" value="1000" />
 75		<constructor-arg index="4" value="true" />
 76	</bean>
 77
 78	<bean id="rhs.column3" class="org.diffkit.db.DKDBColumn">
 79		<constructor-arg index="0" value="COLUMN3" />
 80		<constructor-arg index="1" value="3" />
 81		<constructor-arg index="2" value="VARCHAR" />
 82		<constructor-arg index="3" value="128" />
 83		<constructor-arg index="4" value="true" />
 84	</bean>
 85
 86	<bean id="lhs.column1" class="org.diffkit.db.DKDBColumn">
 87		<constructor-arg index="0" value="COLUMN1" />
 88		<constructor-arg index="1" value="1" />
 89		<constructor-arg index="2" value="VARCHAR" />
 90		<constructor-arg index="3" value="128" />
 91		<constructor-arg index="4" value="true" />
 92	</bean>
 93
 94	<bean id="lhs.column2" class="org.diffkit.db.DKDBColumn">
 95		<constructor-arg index="0" value="COLUMN2" />
 96		<constructor-arg index="1" value="2" />
 97		<constructor-arg index="2" value="CLOB" />
 98		<constructor-arg index="3" value="1000" />
 99		<constructor-arg index="4" value="true" />
100	</bean>
101
102	<bean id="lhs.column3" class="org.diffkit.db.DKDBColumn">
103		<constructor-arg index="0" value="COLUMN3" />
104		<constructor-arg index="1" value="3" />
105		<constructor-arg index="2" value="VARCHAR" />
106		<constructor-arg index="3" value="128" />
107		<constructor-arg index="4" value="true" />
108	</bean>
109
110
111	<bean id="connectionSource" class="org.diffkit.db.DKDatabase">
112		<constructor-arg ref="connectionInfo" />
113	</bean>
114
115</beans>