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

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

http://diffkit.googlecode.com/
XML | 132 lines | 117 code | 15 blank | 0 comment | 0 complexity | 32c4a5ebf3fed81938bc2301e765aeb1 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="TEST26_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="test26_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="TEST26_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="test26_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="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="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="VARCHAR" />
 92      <constructor-arg index="3" value="128" />
 93      <constructor-arg index="4" value="false" />
 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="VARCHAR" />
100      <constructor-arg index="3" value="128" />
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="VARCHAR" />
108      <constructor-arg index="3" value="128" />
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="VARCHAR" />
124      <constructor-arg index="3" value="128" />
125      <constructor-arg index="4" value="false" />
126   </bean>
127
128   <bean id="connectionSource" class="org.diffkit.db.DKDatabase">
129      <constructor-arg ref="connectionInfo" />
130   </bean>
131
132</beans>