ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remijan, Michael" <Michael.Remi...@Suddenlink.com>
Subject mapping flat data int list of objects
Date Thu, 14 Jan 2010 21:11:20 GMT
I have a legacy database which contains. A flat structure for addresses like this:

homeAddress|homeCity|homeState|homeZip|workAddress|workCity|workState|workZip.

I would like to map this into a List<Address> objects where the "home" address uses
Enumeration AddressType.HOME  and "work" address type uses Enumeration AddressType.WORK.

How would I go about doing this with iBatis?



Mime
View raw message