db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject [bug] Collection Proxy & OTM bug in CVS HEAD
Date Tue, 13 Jan 2004 17:51:10 GMT
With the following mapping:

<collection-descriptor
         name="entries"
         element-class-ref="com.forthillcompany.infra.time.Entry"
         proxy="true"
          
collection- 
class="org.apache.ojb.broker.util.collections.ManageableArrayList"
     >
         <orderby name="start" sort="DESC"/>
         <inverse-foreignkey field-ref="accountId"/>
     </collection-descriptor>

Changes to elements in this collection are not stored if the parent is  
retrieved via OTM and an OQLQuery. If the proxy attribute is removed  
(or set to false) changes to elements in the collection are stored.

No test case available yet (well, there is in the app i am working on,  
but none in our cvs yet).

-Brian



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