ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aram Mkhitaryan" <aram.mkhitar...@googlemail.com>
Subject Back reference mapping problem
Date Mon, 30 Jul 2007 06:46:26 GMT

I have two objects Account and AccountProfile and they have methods
correspondingly getAccountProfile() and getAccount()

I tried the following configuration

<resultMap class="Account">
<result property="accountProfile" select="getAccountProfile"/>

<resultMap class="AccountProfile">
</result property="account" select="getAccount"/>

But I get recursive calls for the selects.
Does someone have problems like this?

Please, help to configure the back reference!

Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: aram.mkhitaryan@googlemail.com

View raw message