db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r452850 - /db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml
Date Wed, 04 Oct 2006 11:37:06 GMT
Author: arminw
Date: Wed Oct  4 04:37:05 2006
New Revision: 452850

URL: http://svn.apache.org/viewvc?view=rev&rev=452850
Log:
restore by mistake removed classes

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml

Modified: db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml?view=diff&rev=452850&r1=452849&r2=452850
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/repository_junit.xml Wed Oct  4 04:37:05 2006
@@ -3464,8 +3464,6 @@
         />
     </class-descriptor>
 
-
-
     <class-descriptor
        class="org.apache.ojb.broker.Owner"
        table="Owner"
@@ -3532,6 +3530,120 @@
        </field-descriptor>
     </class-descriptor>
 
+    <class-descriptor
+    class="org.apache.ojb.broker.OuterClass2"
+    table="OuterClass2"
+>
+    <field-descriptor
+        name="id"
+        column="id"
+        jdbc-type="INTEGER"
+        primarykey="true"
+        autoincrement="true"
+    >
+    </field-descriptor>
+    <field-descriptor
+        name="text"
+        column="text"
+        jdbc-type="VARCHAR"
+        length="254"
+    >
+    </field-descriptor>
+    <collection-descriptor
+        name="innerClasses"
+        element-class-ref="org.apache.ojb.broker.OuterClass2$InnerClass2"
+        proxy="true"
+        auto-retrieve="true"
+        auto-update="object"
+        auto-delete="object"
+    >
+        <inverse-foreignkey field-ref="outerId"/>
+    </collection-descriptor>
+</class-descriptor>
+<class-descriptor
+    class="org.apache.ojb.broker.OuterClass2$InnerClass2"
+    table="InnerClass2"
+>
+    <field-descriptor
+        name="id"
+        column="id"
+        jdbc-type="INTEGER"
+        primarykey="true"
+        autoincrement="true"
+    >
+    </field-descriptor>
+    <field-descriptor
+        name="text"
+        column="text"
+        jdbc-type="VARCHAR"
+        length="254"
+    >
+    </field-descriptor>
+    <field-descriptor
+        name="outerId"
+        column="outerId"
+        required="true"
+        jdbc-type="INTEGER"
+        access="anonymous"
+    >
+    </field-descriptor>
+    <reference-descriptor
+        name="OuterClass2.this"
+        class-ref="org.apache.ojb.broker.OuterClass2"
+        auto-retrieve="true"
+        auto-update="link"
+        auto-delete="link"
+    >
+        <foreignkey field-ref="outerId"/>
+    </reference-descriptor>
+    <collection-descriptor
+        name="deepInnerClasses"
+        element-class-ref="org.apache.ojb.broker.OuterClass2$InnerClass2$DeepInnerClass"
+        proxy="true"
+        auto-retrieve="true"
+        auto-update="true"
+        auto-delete="object"
+    >
+        <inverse-foreignkey field-ref="innerId"/>
+    </collection-descriptor>
+</class-descriptor>
+<class-descriptor
+    class="org.apache.ojb.broker.OuterClass2$InnerClass2$DeepInnerClass"
+    table="DeepInnerClass"
+>
+    <field-descriptor
+        name="id"
+        column="id"
+        jdbc-type="INTEGER"
+        primarykey="true"
+        autoincrement="true"
+    >
+    </field-descriptor>
+      <field-descriptor
+        name="text"
+        column="text"
+        jdbc-type="VARCHAR"
+        length="254"
+    >
+    </field-descriptor>
+   <field-descriptor
+        name="innerId"
+        column="innerId"
+        required="true"
+        jdbc-type="INTEGER"
+        access="anonymous"
+    >
+    </field-descriptor>
+    <reference-descriptor
+        name="InnerClass2.this"
+        class-ref="org.apache.ojb.broker.OuterClass2$InnerClass2"
+        auto-retrieve="true"
+        auto-update="link"
+        auto-delete="link"
+    >
+        <foreignkey field-ref="innerId"/>
+    </reference-descriptor>
+</class-descriptor>
 
     <class-descriptor
         class="org.apache.ojb.broker.JdbcJavaObjectTest$Container"
@@ -3596,5 +3708,10 @@
         <delete-procedure name="SP_CUSTOMER_DELETE">
             <runtime-argument field-ref="id"/>
         </delete-procedure>
+
+        <select-by-pk-procedure name="SP_CUSTOMER_BY_PK">
+            <runtime-argument field-ref="id" return="true"/>
+            <runtime-argument field-ref="name" return="true"/>
+        </select-by-pk-procedure>
     </class-descriptor>
 <!-- Mapping of classes used in junit tests and tutorials ends here -->



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message