Hi Michael, in both iBatis v2 and v3 there are TypeHandlers, well explained in the user guide manuals.
If you're using iBatis2, you can find it on page 30; if you're using iBtais3, you can find it on page 13. Hope this helps, Simo On Thu, Jan 14, 2010 at 10:11 PM, Remijan, Michael <michael.remi...@suddenlink.com> wrote: > 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? > > "The information transmitted is intended only for the person or entity to > which it is addressed and may contain proprietary, confidential and/or > legally privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon, this information by > persons or entities other than the intended recipient is prohibited. If you > received this in error, please contact the sender and delete the material > from all computers." -- http://people.apache.org/~simonetripodi/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org