Re: Result Map Issue

2007-08-02 Thread Brandon Goodin
Why don't you just handle that in your dao. public Account getAccount(Integer accountId) { Account account = sqlMapClient.queryForObject("getAccount",accountId); Profile profile = sqlMapClient.queryForObject("getProfile",Account account); account.setProfile(profile); return account; } Brandon O

Result Map Issue

2007-08-01 Thread Aram Mkhitaryan
Hi, I'm trying to configure result maps that are able set some properties from the parameter map. For example, I'm loading the profile and the input parameter is the account, and I have to set the given account ot the profile. But after select in the result map only the result set is available