PageRenderTime 24ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/tst/org/diffkit/diff/conf/tst/test.dbsetup.xml

http://diffkit.googlecode.com/
XML | 117 lines | 103 code | 14 blank | 0 comment | 0 complexity | b083c2539ada4d26e69c3807da240c3e 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="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="rhs_pk" />
 28		<constructor-arg index="1">
 29			<list>
 30				<value>column1</value>
 31				<value>column3</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="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			</list>
 50		</constructor-arg>
 51		<constructor-arg index="4" ref="lhs.pk" />
 52	</bean>
 53
 54	<bean id="lhs.pk" class="org.diffkit.db.DKDBPrimaryKey">
 55		<constructor-arg index="0" value="lhs_pk" />
 56		<constructor-arg index="1">
 57			<list>
 58				<value>column1</value>
 59				<value>column3</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="VARCHAR" />
 68		<constructor-arg index="3" value="128" />
 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="VARCHAR" />
 76		<constructor-arg index="3" value="128" />
 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="lhs.column1" class="org.diffkit.db.DKDBColumn">
 89      <constructor-arg index="0" value="column1" />
 90      <constructor-arg index="1" value="1" />
 91      <constructor-arg index="2" value="VARCHAR" />
 92      <constructor-arg index="3" value="128" />
 93      <constructor-arg index="4" value="true" />
 94	</bean>
 95
 96	<bean id="lhs.column2" class="org.diffkit.db.DKDBColumn">
 97      <constructor-arg index="0" value="column2" />
 98      <constructor-arg index="1" value="2" />
 99      <constructor-arg index="2" value="VARCHAR" />
100      <constructor-arg index="3" value="128" />
101      <constructor-arg index="4" value="true" />
102	</bean>
103
104	<bean id="lhs.column3" class="org.diffkit.db.DKDBColumn">
105      <constructor-arg index="0" value="column3" />
106      <constructor-arg index="1" value="3" />
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="connectionSource" class="org.diffkit.db.DKDatabase">
113		<constructor-arg ref="connectionInfo" />
114	</bean>
115
116
117</beans>