ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From charlie bird <zebthe...@yahoo.co.uk>
Subject Child beans as a java.util.Map
Date Thu, 22 Nov 2007 15:33:57 GMT
Here's a question.

When building an object with child objects in the app
I'm building I uses Lists to hold the the child
objects by mapping the id of the parent Object
(one-to-many) to a <select> in the child's sqlMap.

Is there a way to configure Ibatis to return a Map of
child objects keyed on something-or-other rather than
a List?
At moment I generate the Map on the fly in the parent
Object but elegant it aint!



Yahoo! Answers - Got a question? Someone out there knows the answer. Try it

View raw message