db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r398734 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml
Date Mon, 01 May 2006 23:30:22 GMT
Author: arminw
Date: Mon May  1 16:30:21 2006
New Revision: 398734

URL: http://svn.apache.org/viewcvs?rev=398734&view=rev
Log:
update mapping to support LOBTest

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml?rev=398734&r1=398733&r2=398734&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml Mon May 
1 16:30:21 2006
@@ -1279,9 +1279,32 @@
       />
    </class-descriptor>
 
-<!-- Definitions for org.apache.ojb.broker.ObjectWithBlob -->
+<!-- Definitions for org.apache.ojb.broker.LobObjectExt -->
    <class-descriptor
-   	  class="org.apache.ojb.broker.BlobTest$ObjectWithBlob"
+   	  class="org.apache.ojb.broker.lob.LOBTest$LobObjectExt"
+   	  table="BLOB_TEST"
+   >
+      <field-descriptor
+         name="id"
+         column="ID"
+         jdbc-type="INTEGER"
+         primarykey="true"
+         autoincrement="true"
+      />
+      <field-descriptor
+         name="blobArray"
+         column="BLOB_VALUE_"
+         jdbc-type="BLOB"
+      />
+      <field-descriptor
+         name="clobString"
+         column="CLOB_VALUE_"
+         jdbc-type="CLOB"
+      />
+   </class-descriptor>
+
+   <class-descriptor
+   	  class="org.apache.ojb.broker.lob.LOBTest$LobObject"
    	  table="BLOB_TEST"
    >
       <field-descriptor
@@ -1302,6 +1325,7 @@
          jdbc-type="CLOB"
       />
    </class-descriptor>
+
 
 <!-- Definitions for broker.CharacterTest$ObjectWithCharField -->
   <class-descriptor



---------------------------------------------------------------------
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