PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://diffkit.googlecode.com/
XML | 119 lines | 105 code | 14 blank | 0 comment | 0 complexity | ab196ed353254f4e54697d4b01e99fc2 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="TEST30_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="test30_rhs_pk" />
 28		<constructor-arg index="1">
 29			<list>
 30				<value>COLUMN1</value>
 31				<value>COLUMN2</value>
 32				<value>COLUMN3</value>
 33			</list>
 34		</constructor-arg>
 35	</bean>
 36
 37	<bean id="lhs.table" class="org.diffkit.db.DKDBTable">
 38		<constructor-arg index="0">
 39			<null />
 40		</constructor-arg>
 41		<constructor-arg index="1">
 42			<null />
 43		</constructor-arg>
 44		<constructor-arg index="2" value="TEST30_LHS_TABLE" />
 45		<constructor-arg index="3">
 46			<list>
 47				<ref bean="lhs.column1" />
 48				<ref bean="lhs.column2" />
 49				<ref bean="lhs.column3" />
 50			</list>
 51		</constructor-arg>
 52		<constructor-arg index="4" ref="lhs.pk" />
 53	</bean>
 54
 55	<bean id="lhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 56		<constructor-arg index="0" value="test30_lhs_pk" />
 57		<constructor-arg index="1">
 58			<list>
 59				<value>COLUMN1</value>
 60				<value>COLUMN2</value>
 61				<value>COLUMN3</value>
 62			</list>
 63		</constructor-arg>
 64	</bean>
 65
 66	<bean id="rhs.column1" class="org.diffkit.db.DKDBColumn">
 67		<constructor-arg index="0" value="COLUMN1" />
 68		<constructor-arg index="1" value="1" />
 69		<constructor-arg index="2" value="VARCHAR" />
 70		<constructor-arg index="3" value="128" />
 71		<constructor-arg index="4" value="true" />
 72	</bean>
 73
 74	<bean id="rhs.column2" class="org.diffkit.db.DKDBColumn">
 75		<constructor-arg index="0" value="COLUMN2" />
 76		<constructor-arg index="1" value="2" />
 77		<constructor-arg index="2" value="INTEGER" />
 78		<constructor-arg index="3" value="1000" />
 79		<constructor-arg index="4" value="true" />
 80	</bean>
 81
 82	<bean id="rhs.column3" class="org.diffkit.db.DKDBColumn">
 83		<constructor-arg index="0" value="COLUMN3" />
 84		<constructor-arg index="1" value="3" />
 85		<constructor-arg index="2" value="VARCHAR" />
 86		<constructor-arg index="3" value="128" />
 87		<constructor-arg index="4" value="true" />
 88	</bean>
 89
 90	<bean id="lhs.column1" class="org.diffkit.db.DKDBColumn">
 91		<constructor-arg index="0" value="COLUMN1" />
 92		<constructor-arg index="1" value="1" />
 93		<constructor-arg index="2" value="VARCHAR" />
 94		<constructor-arg index="3" value="128" />
 95		<constructor-arg index="4" value="true" />
 96	</bean>
 97
 98	<bean id="lhs.column2" class="org.diffkit.db.DKDBColumn">
 99		<constructor-arg index="0" value="COLUMN2" />
100		<constructor-arg index="1" value="2" />
101		<constructor-arg index="2" value="INTEGER" />
102		<constructor-arg index="3" value="1000" />
103		<constructor-arg index="4" value="true" />
104	</bean>
105
106	<bean id="lhs.column3" class="org.diffkit.db.DKDBColumn">
107		<constructor-arg index="0" value="COLUMN3" />
108		<constructor-arg index="1" value="3" />
109		<constructor-arg index="2" value="VARCHAR" />
110		<constructor-arg index="3" value="128" />
111		<constructor-arg index="4" value="true" />
112	</bean>
113
114
115	<bean id="connectionSource" class="org.diffkit.db.DKDatabase">
116		<constructor-arg ref="connectionInfo" />
117	</bean>
118
119</beans>