PageRenderTime 11ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

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

http://diffkit.googlecode.com/
XML | 64 lines | 55 code | 9 blank | 0 comment | 0 complexity | b062725fc34a8a33d76d8276bb7b8a7c 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="lhs.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="TEST25_TABLE" />
16		<constructor-arg index="3">
17			<list>
18				<ref bean="lhs.column1" />
19				<ref bean="lhs.column2" />
20				<ref bean="lhs.column3" />
21			</list>
22		</constructor-arg>
23		<constructor-arg index="4" ref="lhs.pk" />
24	</bean>
25
26	<bean id="lhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
27		<constructor-arg index="0" value="test25_lhs_pk" />
28		<constructor-arg index="1">
29			<list>
30				<value>COLUMN1</value>
31			</list>
32		</constructor-arg>
33	</bean>
34
35	<bean id="lhs.column1" class="org.diffkit.db.DKDBColumn">
36		<constructor-arg index="0" value="COLUMN1" />
37		<constructor-arg index="1" value="1" />
38		<constructor-arg index="2" value="VARCHAR" />
39		<constructor-arg index="3" value="128" />
40		<constructor-arg index="4" value="true" />
41	</bean>
42
43	<bean id="lhs.column2" class="org.diffkit.db.DKDBColumn">
44		<constructor-arg index="0" value="COLUMN2" />
45		<constructor-arg index="1" value="2" />
46		<constructor-arg index="2" value="CLOB" />
47		<constructor-arg index="3" value="1000" />
48		<constructor-arg index="4" value="true" />
49	</bean>
50
51	<bean id="lhs.column3" class="org.diffkit.db.DKDBColumn">
52		<constructor-arg index="0" value="COLUMN3" />
53		<constructor-arg index="1" value="3" />
54		<constructor-arg index="2" value="VARCHAR" />
55		<constructor-arg index="3" value="128" />
56		<constructor-arg index="4" value="true" />
57	</bean>
58
59
60	<bean id="connectionSource" class="org.diffkit.db.DKDatabase">
61		<constructor-arg ref="connectionInfo" />
62	</bean>
63
64</beans>