Hi all, 

  We are encountering a problem when using collections with proxy.  An object
has a mapping with an attached collection as: 
  <class-descriptor....>
    ...
    <collection-descriptor
        name="entries"
        element-class-ref="elementClass"
        proxy="true"
        auto-update="true">
        <inverse-foreignkey field-ref="objectId"/>
    </collection-descriptor>
  </class-descriptor>

  In some cases we have to retrieve the object from the database, clear its
collection of entries (by calling entries.clear()), and add new elements (with
entries.add()). With proxy set to "false", the old entries are removed. With
proxy set to "true", the old entries are not deleted from the corresponding
table. Is there anything we are doing wrong, or this is the correct behavior? 

  Regards, 

  Bogdan 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to