PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://diffkit.googlecode.com/
XML | 132 lines | 117 code | 15 blank | 0 comment | 0 complexity | 9f8e3a231f534ee6498fbedcb10421e9 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="TEST17_RHS_TABLE" />
 16		<constructor-arg index="3">
 17			<list>
 18				<ref bean="rhs.column1" />
 19				<ref bean="rhs.column2" />
 20				<ref bean="rhs.column4" />
 21				<ref bean="rhs.column3" />
 22			</list>
 23		</constructor-arg>
 24		<constructor-arg index="4" ref="rhs.pk" />
 25	</bean>
 26
 27	<bean id="rhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 28		<constructor-arg index="0" value="test17_rhs_pk" />
 29		<constructor-arg index="1">
 30			<list>
 31				<value>COLUMN1</value>
 32			</list>
 33		</constructor-arg>
 34	</bean>
 35
 36	<bean id="lhs.table" class="org.diffkit.db.DKDBTable">
 37		<constructor-arg index="0">
 38			<null />
 39		</constructor-arg>
 40		<constructor-arg index="1">
 41			<null />
 42		</constructor-arg>
 43		<constructor-arg index="2" value="TEST17_LHS_TABLE" />
 44		<constructor-arg index="3">
 45			<list>
 46				<ref bean="lhs.column1" />
 47				<ref bean="lhs.column2" />
 48				<ref bean="lhs.column3" />
 49				<ref bean="lhs.column4" />
 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="test17_lhs_pk" />
 57		<constructor-arg index="1">
 58			<list>
 59				<value>COLUMN1</value>
 60			</list>
 61		</constructor-arg>
 62	</bean>
 63
 64	<bean id="rhs.column1" class="org.diffkit.db.DKDBColumn">
 65		<constructor-arg index="0" value="COLUMN1" />
 66		<constructor-arg index="1" value="1" />
 67		<constructor-arg index="2" value="BIGINT" />
 68		<constructor-arg index="3" value="32" />
 69		<constructor-arg index="4" value="true" />
 70	</bean>
 71
 72	<bean id="rhs.column2" class="org.diffkit.db.DKDBColumn">
 73		<constructor-arg index="0" value="COLUMN2" />
 74		<constructor-arg index="1" value="2" />
 75		<constructor-arg index="2" value="BIGINT" />
 76		<constructor-arg index="3" value="32" />
 77		<constructor-arg index="4" value="true" />
 78	</bean>
 79
 80	<bean id="rhs.column3" class="org.diffkit.db.DKDBColumn">
 81		<constructor-arg index="0" value="COLUMN3" />
 82		<constructor-arg index="1" value="3" />
 83		<constructor-arg index="2" value="BIGINT" />
 84		<constructor-arg index="3" value="32" />
 85		<constructor-arg index="4" value="true" />
 86	</bean>
 87
 88	<bean id="rhs.column4" class="org.diffkit.db.DKDBColumn">
 89		<constructor-arg index="0" value="COLUMN4" />
 90		<constructor-arg index="1" value="4" />
 91		<constructor-arg index="2" value="BIGINT" />
 92		<constructor-arg index="3" value="32" />
 93		<constructor-arg index="4" value="true" />
 94	</bean>
 95
 96	<bean id="lhs.column1" class="org.diffkit.db.DKDBColumn">
 97		<constructor-arg index="0" value="COLUMN1" />
 98		<constructor-arg index="1" value="1" />
 99		<constructor-arg index="2" value="BIGINT" />
100		<constructor-arg index="3" value="32" />
101		<constructor-arg index="4" value="true" />
102	</bean>
103
104	<bean id="lhs.column2" class="org.diffkit.db.DKDBColumn">
105		<constructor-arg index="0" value="COLUMN2" />
106		<constructor-arg index="1" value="2" />
107		<constructor-arg index="2" value="BIGINT" />
108		<constructor-arg index="3" value="32" />
109		<constructor-arg index="4" value="true" />
110	</bean>
111
112	<bean id="lhs.column3" class="org.diffkit.db.DKDBColumn">
113		<constructor-arg index="0" value="COLUMN3" />
114		<constructor-arg index="1" value="3" />
115		<constructor-arg index="2" value="BIGINT" />
116		<constructor-arg index="3" value="32" />
117		<constructor-arg index="4" value="true" />
118	</bean>
119
120	<bean id="lhs.column4" class="org.diffkit.db.DKDBColumn">
121		<constructor-arg index="0" value="COLUMN4" />
122		<constructor-arg index="1" value="4" />
123		<constructor-arg index="2" value="BIGINT" />
124		<constructor-arg index="3" value="32" />
125		<constructor-arg index="4" value="true" />
126	</bean>
127
128	<bean id="connectionSource" class="org.diffkit.db.DKDatabase">
129		<constructor-arg ref="connectionInfo" />
130	</bean>
131
132</beans>