PageRenderTime 37ms CodeModel.GetById 27ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

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

http://diffkit.googlecode.com/
XML | 182 lines | 160 code | 22 blank | 0 comment | 0 complexity | d116e43af4da2c51e6b2bbe271b0e50d 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="TEST36_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				<ref bean="rhs.column4" />
 22				<ref bean="rhs.column5" />
 23				<ref bean="rhs.column6" />
 24				<ref bean="rhs.column7" />
 25				<ref bean="rhs.column8" />
 26				<ref bean="rhs.column9" />
 27				<ref bean="rhs.column10" />
 28				<ref bean="rhs.column11" />
 29				<ref bean="rhs.column12" />
 30				<ref bean="rhs.column13" />
 31            <ref bean="rhs.column14" />
 32            <ref bean="rhs.column15" />
 33            <ref bean="rhs.column16" />
 34			</list>
 35		</constructor-arg>
 36		<constructor-arg index="4" ref="rhs.pk" />
 37	</bean>
 38
 39	<bean id="rhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 40		<constructor-arg index="0" value="test36_rhs_pk" />
 41		<constructor-arg index="1">
 42			<list>
 43				<value>COLUMN1</value>
 44			</list>
 45		</constructor-arg>
 46	</bean>
 47
 48
 49	<bean id="rhs.column1" class="org.diffkit.db.DKDBColumn">
 50		<constructor-arg index="0" value="COLUMN1" />
 51		<constructor-arg index="1" value="1" />
 52		<constructor-arg index="2" value="VARCHAR" />
 53		<constructor-arg index="3" value="128" />
 54		<constructor-arg index="4" value="true" />
 55	</bean>
 56
 57	<bean id="rhs.column2" class="org.diffkit.db.DKDBColumn">
 58		<constructor-arg index="0" value="COLUMN2" />
 59		<constructor-arg index="1" value="2" />
 60		<constructor-arg index="2" value="BIGINT" />
 61		<constructor-arg index="3" value="32" />
 62		<constructor-arg index="4" value="true" />
 63	</bean>
 64
 65	<bean id="rhs.column3" class="org.diffkit.db.DKDBColumn">
 66		<constructor-arg index="0" value="COLUMN3" />
 67		<constructor-arg index="1" value="3" />
 68		<constructor-arg index="2" value="DATE" />
 69		<constructor-arg index="3" value="0" />
 70		<constructor-arg index="4" value="true" />
 71	</bean>
 72
 73	<bean id="rhs.column4" class="org.diffkit.db.DKDBColumn">
 74		<constructor-arg index="0" value="COLUMN4" />
 75		<constructor-arg index="1" value="4" />
 76		<constructor-arg index="2" value="CHAR" />
 77		<constructor-arg index="3" value="4" />
 78		<constructor-arg index="4" value="true" />
 79	</bean>
 80
 81	<bean id="rhs.column5" class="org.diffkit.db.DKDBColumn">
 82		<constructor-arg index="0" value="COLUMN5" />
 83		<constructor-arg index="1" value="5" />
 84		<constructor-arg index="2" value="TIME" />
 85		<constructor-arg index="3" value="0" />
 86		<constructor-arg index="4" value="true" />
 87	</bean>
 88
 89	<bean id="rhs.column6" class="org.diffkit.db.DKDBColumn">
 90		<constructor-arg index="0" value="COLUMN6" />
 91		<constructor-arg index="1" value="6" />
 92		<constructor-arg index="2" value="BIGINT" />
 93		<constructor-arg index="3" value="0" />
 94		<constructor-arg index="4" value="true" />
 95	</bean>
 96
 97	<bean id="rhs.column7" class="org.diffkit.db.DKDBColumn">
 98		<constructor-arg index="0" value="COLUMN7" />
 99		<constructor-arg index="1" value="7" />
100		<constructor-arg index="2" value="DECIMAL" />
101		<constructor-arg index="3" value="10" />
102		<constructor-arg index="4" value="2" />
103		<constructor-arg index="5" value="true" />
104	</bean>
105
106	<bean id="rhs.column8" class="org.diffkit.db.DKDBColumn">
107		<constructor-arg index="0" value="COLUMN8" />
108		<constructor-arg index="1" value="8" />
109		<constructor-arg index="2" value="DOUBLE" />
110		<constructor-arg index="3" value="10" />
111		<constructor-arg index="4" value="true" />
112	</bean>
113
114	<bean id="rhs.column9" class="org.diffkit.db.DKDBColumn">
115		<constructor-arg index="0" value="COLUMN9" />
116		<constructor-arg index="1" value="9" />
117		<constructor-arg index="2" value="REAL" />
118		<constructor-arg index="3" value="10" />
119		<constructor-arg index="4" value="true" />
120	</bean>
121
122	<bean id="rhs.column10" class="org.diffkit.db.DKDBColumn">
123		<constructor-arg index="0" value="COLUMN10" />
124		<constructor-arg index="1" value="10" />
125		<constructor-arg index="2" value="TIMESTAMP" />
126		<constructor-arg index="3" value="10" />
127		<constructor-arg index="4" value="true" />
128	</bean>
129
130	<bean id="rhs.column11" class="org.diffkit.db.DKDBColumn">
131		<constructor-arg index="0" value="COLUMN11" />
132		<constructor-arg index="1" value="11" />
133		<constructor-arg index="2" value="BOOLEAN" />
134		<constructor-arg index="3" value="0" />
135		<constructor-arg index="4" value="true" />
136	</bean>
137
138	<bean id="rhs.column12" class="org.diffkit.db.DKDBColumn">
139		<constructor-arg index="0" value="COLUMN12" />
140		<constructor-arg index="1" value="12" />
141		<constructor-arg index="2" value="BIGINT" />
142		<constructor-arg index="3" value="0" />
143		<constructor-arg index="4" value="true" />
144	</bean>
145
146	<bean id="rhs.column13" class="org.diffkit.db.DKDBColumn">
147		<constructor-arg index="0" value="COLUMN13" />
148		<constructor-arg index="1" value="13" />
149		<constructor-arg index="2" value="BIGINT" />
150		<constructor-arg index="3" value="0" />
151		<constructor-arg index="4" value="true" />
152	</bean>
153
154   <bean id="rhs.column14" class="org.diffkit.db.DKDBColumn">
155      <constructor-arg index="0" value="COLUMN14" />
156      <constructor-arg index="1" value="14" />
157      <constructor-arg index="2" value="NCHAR" />
158      <constructor-arg index="3" value="64" />
159      <constructor-arg index="4" value="true" />
160   </bean>
161   
162   <bean id="rhs.column15" class="org.diffkit.db.DKDBColumn">
163      <constructor-arg index="0" value="COLUMN15" />
164      <constructor-arg index="1" value="15" />
165      <constructor-arg index="2" value="NVARCHAR" />
166      <constructor-arg index="3" value="256" />
167      <constructor-arg index="4" value="true" />
168   </bean>
169
170   <bean id="rhs.column16" class="org.diffkit.db.DKDBColumn">
171      <constructor-arg index="0" value="COLUMN16" />
172      <constructor-arg index="1" value="16" />
173      <constructor-arg index="2" value="CLOB" />
174      <constructor-arg index="3" value="1000" />
175      <constructor-arg index="4" value="true" />
176   </bean>
177
178	<bean id="connectionSource" class="org.diffkit.db.DKDatabase">
179		<constructor-arg ref="connectionInfo" />
180	</bean>
181
182</beans>