Any takers on this one?

On 1/30/07, Nicklas Karlsson <[EMAIL PROTECTED]> wrote:
I have an Order object which has a List<OrderRow>orderRows.
The OrderRow has an Order order parent reference
I have an OrderRow.aegis.xml (which according to debug is found):

<mappings>
       <mapping>
               <property name="order" ignore="true"/>
       </mapping>
</mappings>

But when I debug the call, I see it going into the orderRow list and
then returning through the getOrder() method to start iterating over
the Order getters all over. Isn't the ignore="true" supposed to
prevent this kind of looping or am I doing something wrong?

Thankful for assistance,
 - Nik


On 1/29/07, Nicklas Karlsson <[EMAIL PROTECTED]> wrote:
> Futher debugging in the issue points to that there is a cicular
> reference that hangs the mapper:  I have and Order with a
> List<OrderRow> by the order row has a reference to the parent object
> so there seems to be a loop happening.
>
> The problem is now that I added an OrderRow.aegis.xml file (which
> debug information indicates as found) with a <property name="order"
> ignore="true"/> element but it still seems to go into the loop.
>
> Suggestions appreciated. I'm using the latest version.



--
---
Nik

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to