ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Hong" <anthony.bin.h...@gmail.com>
Subject Does sqlmap support polymorphism in result-map
Date Sun, 11 Jun 2006 11:01:47 GMT
I have a set of class with generlization relationship. They are saved
in one table with a type field to sepreate which type they are.

How can I fetch them with the help of ibatis result map to construct
properly class with type field help

Say, If type = 1, then create Class A
if type = 2, then create Class B

Can this be achieved in ibatis result-map support?

Thanks in advance


Anthony Hong

View raw message