ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok Madhavan" <ashok.madha...@gmail.com>
Subject Re: [Abator] Support for complex objects
Date Wed, 16 Jan 2008 00:18:37 GMT
is there a way in abator to deduce these relationships based on the database
schema ( like Foreign keys ) and automatically create these classes ?

regards
Ashok

On Jan 15, 2008 3:07 PM, Jeff Butler <jeffgbutler@gmail.com> wrote:

> Abator does not support complex objects and relationships currently.  I've
> done some investigation into this, but it is a very complex problem to solve
> in a general way.  I currently think that this is better done with manual
> coding.
>
> It would be quite easy to extend a generated object, extend a generated
> result map, and then write a custom query to add complexity to the generated
> objects.  I've done that several times.
>
> Jeff Butler
>
> On Jan 15, 2008 2:15 PM, Thiago F. G. Albuquerque <tfga@mpdft.gov.br>
> wrote:
>
> > Hi,
> >
> > Does Abator support complex objects? By "complex object" I mean a domain
> > object that has references to other domain objects.
> >
> > In other words: I need a way to specify the "select" atribute for some
> > columns of the generated result map.
> >
> > I looked in the docs, but didn't find anything.
> >
> > One way to implement this would be to add a "select" atribute to
> > <columnOverride>.
> >
> > [],
> > Thiago
> >
> >
>

Mime
View raw message