tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwilli...@apache.org
Subject svn commit: r414660 - in /incubator/tuscany/java/das/rdb: pom.xml src/test/java/org/apache/tuscany/das/rdb/test/company/ src/test/java/org/apache/tuscany/das/rdb/test/customer/ src/test/resources/1xM_mapping_no_cud.xml
Date Thu, 15 Jun 2006 19:41:11 GMT
Author: kwilliams
Date: Thu Jun 15 12:41:11 2006
New Revision: 414660

URL: http://svn.apache.org/viewvc?rev=414660&view=rev
Log:
Brent's patch for T-466

Removed:
    incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/company/
    incubator/tuscany/java/das/rdb/src/test/java/org/apache/tuscany/das/rdb/test/customer/
Modified:
    incubator/tuscany/java/das/rdb/pom.xml
    incubator/tuscany/java/das/rdb/src/test/resources/1xM_mapping_no_cud.xml

Modified: incubator/tuscany/java/das/rdb/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/rdb/pom.xml?rev=414660&r1=414659&r2=414660&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/pom.xml (original)
+++ incubator/tuscany/java/das/rdb/pom.xml Thu Jun 15 12:41:11 2006
@@ -62,8 +62,35 @@
                 <artifactId>tuscany-sdo-plugin</artifactId>
                 <executions>
                     <execution>
+                        <id>config</id>
                         <configuration>
                             <schemaFile>${basedir}/src/main/resources/config.xsd</schemaFile>
+                            <generateLoader>true</generateLoader>
+                            <generateSwitch>true</generateSwitch>
+                            <noNotification>true</noNotification>
+                            <noUnsettable>true</noUnsettable>
+                        </configuration>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>company</id>
+                        <configuration>
+                            <schemaFile>${basedir}/src/test/resources/company.xsd</schemaFile>
+                            <generateLoader>true</generateLoader>
+                            <generateSwitch>true</generateSwitch>
+                            <noNotification>true</noNotification>
+                            <noUnsettable>true</noUnsettable>
+                        </configuration>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>customer</id>
+                        <configuration>
+                            <schemaFile>${basedir}/src/test/resources/customer.xsd</schemaFile>
                             <generateLoader>true</generateLoader>
                             <generateSwitch>true</generateSwitch>
                             <noNotification>true</noNotification>

Modified: incubator/tuscany/java/das/rdb/src/test/resources/1xM_mapping_no_cud.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/rdb/src/test/resources/1xM_mapping_no_cud.xml?rev=414660&r1=414659&r2=414660&view=diff
==============================================================================
--- incubator/tuscany/java/das/rdb/src/test/resources/1xM_mapping_no_cud.xml (original)
+++ incubator/tuscany/java/das/rdb/src/test/resources/1xM_mapping_no_cud.xml Thu Jun 15 12:41:11
2006
@@ -17,12 +17,12 @@
 <Config xsi:noNamespaceSchemaLocation="http:///org.apache.tuscany.das.rdb/config.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
   <Table tableName="CUSTOMER" typeName="Customer">
-    <Column columnName="ID" propertyName="iD" primaryKey="true"/>
+    <Column columnName="ID" propertyName="ID" primaryKey="true"/>
   </Table>
   
   <Table tableName="ANORDER" typeName="AnOrder">
-  	<Column columnName="CUSTOMER_ID" propertyName="customerID"/>
-    <Column columnName="ID" propertyName="iD" primaryKey="true"/>
+  	<Column columnName="CUSTOMER_ID" propertyName="Customer_ID"/>
+    <Column columnName="ID" propertyName="ID" primaryKey="true"/>
   </Table>
 	
   <Relationship name="orders" primaryKeyTable="CUSTOMER" foreignKeyTable="ANORDER" many="true">



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message