You will have to hand code any join queries - Abator does not deal with
table relationships.  You should be able to reuse the resultMaps produced by
Abator.  If you get into a situation you need columns renamed, you can give
the table an alias in the abator config and abator will generate aliased and
renamed columns for the result maps.

Jeff Butler



On 4/22/07, Jared Blitzstein <[EMAIL PROTECTED]> wrote:

Is there a way to do a 1:1 or a 1:M select using the generated code
from Abator out of the box (or with some minor tweaks)? I've looked
around for a bit and the only thing I could come up with was to write
that functionality by hand to have iBATIS return a fully loaded
"Patient" object, or do a bunch of calls using the abator generated
code and piece it together in my service layer. My query in question
would involve a "Patient" object that would be a 1:1 with a "Person"
object which would have a 1:M with "Address". Anyone have a clean
solution for this? Thanks.

Reply via email to