File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts 2 - Ibatis - complex collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Ibatis - complex collection" Watch "Struts 2 - Ibatis - complex collection" New topic

Struts 2 - Ibatis - complex collection

siva np

Joined: Feb 12, 2009
Posts: 9
Hi All,

I am using the Struts 2 - IBatis - MySQL combination.

My Master.xml file will be......

I need all the details from BuyerVO to the BuyerDetailsVO.

It works fine in the query browser. But it does not work in the ibatis file. Because we have configured the resultMap="BuyerDetailsResult".

How do you get the values of "BuyerResult" ?

Please guide on this issue.

Thanks & regards,

Siva N P
David Newton

Joined: Sep 29, 2008
Posts: 12617

If this is an iBatis question it probably belongs in a different forum, like ORM.
subject: Struts 2 - Ibatis - complex collection
It's not a secret anymore!