ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Marche <ja...@email.it>
Subject Re: Abator generation features
Date Wed, 25 Jan 2006 15:04:14 GMT
Thank you Jeff, you were a precious help for me :-)
And generally Abator is still a precious help for me in this project.


Jeff Butler ha scritto:
> As you've discovered, Abator does not trace relationships through your
> database or generate this kind of a rich object model.  I've been
> thinking about ways to add that feature, but it is a very complex
> problem to solve in a general way.  So yes, you'll need to generate
> custom queries and objects for this kind of model.
> Abator can still be of use to you because it will generate correct
> insert, update, and delete statements.  You should also be able to
> reference some of the Abator generated select stuff too - for example,
> the result maps are often reusable in more complex queries.
> In my experience, Abator generates a good foundation for building on. 
> You can (and usually should) generate custom queries to fill out the
> remainder of your model.  You can add your custom queries to the same
> sql map files and Abator won't overwrite them when/if you regenerate.
> You can also see the "philosophy" page in the Eclipse documentation
> for more thoughts about this subject.  Here's an SVN link if you're
> not using Eclipse:
> http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/tools/abator/eclipse/org.apache.ibatis.abator.doc/html/gettingstarted/philosophy.html
> <http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/tools/abator/eclipse/org.apache.ibatis.abator.doc/html/gettingstarted/philosophy.html>
> HTH -
> Jeff Butler

View raw message