ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Abator Version 1.0.0 Now Available!
Date Thu, 24 Aug 2006 23:42:20 GMT
I'm glad you like iBATIS and Abator!

Unfortunately, adding the methods to the DaoManager interface is not that
easy.  The DAO transaction classes are implemented by other transaction
managers besides iBATIS - and the correspoding methods do not exist in some
of the other implementations.

I think that the best solution is to create a seperate DAO
interface/implementation that has the batch methods you need.  Methods in
that DAO could start transactions, start batches, execute batches, and
interact with any other DAO (like Abator generated DAOs).

Jeff Butler

On 8/23/06, Tony Qian <daqiqian2@aol.com> wrote:
>  Jeff,
> I have used Abator and iBATIS for more than half year for several
> projects. I love it! Really appreciate you guy's hard work. When I use
> Abator to generate all codes, i got one problem for batch. I need to go
> through the source code to figure out how to execute batch (When using
> sqlMapClient, it is so easy). I think others have same experience. Here is
> my question. Is it possible to put startBatch(), executeBatch() and
> executeBatchDetailed() in DaoManager class, just like
> daoManager.startTransaction()?
> Thanks,
> Tony
> Jeff Butler wrote on 8/20/2006, 7:42 PM:
>  Abator version 1.0.0 is now available.  This is a significant upgrade
> from version 0.6.5 and includes many new features.  Noteworthy new
> features include:
> - Ability to generate code for Java 5 including the use of parameterized
> types
> - Ability to generate different types of domain models, including a flat
> model if you dislike separate classes for primary keys and BLOBs
> - VASTLY improved "by example" methods.  The new methods can generate
> virtually any where clause, including INs and BETWEENs, and the generated
> DOAs and SqlMaps are MUCH smaller.  The new example class can get large,
> but most functions for the dynamic where clause are encapsulated into that
> class (this support requires that you use iBATIS 2.2.0 or higher for the
> nested <iterate> support)
> - VASTLY improved documentation for Abator, including a complete list of
> new features, is now available online here:
>  http://ibatis.apache.org/docs/tools/abator/
> Please read the "What's New?" section of the online docs before upgrading
> - some of the default options have changed, and this could cause code to be
> generated that is not completely the same as prior versions of Abator.
> There are options available to generate code exactly as in prior versions if
> you so desire.
> See this page for download links and other information:
> http://ibatis.apache.org/abator.html
> Thanks for all the comments and feedback about Abator.  I've Incorporated
> everything I thought was reasonable into the new release.
> Jeff Butler

View raw message