Author: arminw
Date: Wed Oct 4 04:34:54 2006
New Revision: 452847
URL: http://svn.apache.org/viewvc?view=rev&rev=452847
Log:
add new test classes
Modified:
db/ojb/trunk/src/test/org/apache/ojb/repository_junit_reference.xml
Modified: db/ojb/trunk/src/test/org/apache/ojb/repository_junit_reference.xml
URL:
http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/repository_junit_reference.xml?view=diff&rev=452847&r1=452846&r2=452847
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/repository_junit_reference.xml
(original)
+++ db/ojb/trunk/src/test/org/apache/ojb/repository_junit_reference.xml Wed Oct
4 04:34:54 2006
@@ -1648,7 +1648,7 @@
<collection-descriptor
name="actors"
- element-class-ref="org.apache.ojb.broker.M2NTest$Actor"
+ element-class-ref="org.apache.ojb.broker.M2NTest$ActorWithArray"
auto-retrieve="false"
auto-update="false"
auto-delete="false"
@@ -1692,6 +1692,48 @@
name="movies"
collection-class="org.apache.ojb.broker.M2NTest$MovieManageableCollection"
element-class-ref="org.apache.ojb.broker.M2NTest$MovieImpl"
+ auto-retrieve="false"
+ auto-update="false"
+ auto-delete="false"
+ indirection-table="M2N_ROLE"
+ >
+ <fk-pointing-to-this-class column="ACTOR_ID"/>
+ <fk-pointing-to-this-class column="ACTOR_ID2"/>
+ <fk-pointing-to-element-class column="MOVIE_ID_INT"/>
+ <fk-pointing-to-element-class column="MOVIE_ID2_INT"/>
+ <fk-pointing-to-element-class column="MOVIE_ID_STR"/>
+ </collection-descriptor>
+ </class-descriptor>
+
+ <class-descriptor
+ class="org.apache.ojb.broker.M2NTest$ActorWithArray"
+ table="M2N_ACTOR"
+ >
+ <field-descriptor
+ name="id"
+ column="OBJ_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ />
+
+ <field-descriptor
+ name="id2"
+ column="OBJ_ID2"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ />
+
+ <field-descriptor
+ name="name"
+ column="NAME"
+ jdbc-type="VARCHAR"
+ />
+
+ <collection-descriptor
+ name="movies"
+
element-class-ref="org.apache.ojb.broker.M2NTest$MovieWithArrayImpl"
auto-retrieve="false"
auto-update="false"
auto-delete="false"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]