ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: using DomSqlMapBuilder.Configure
Date Tue, 18 Oct 2005 14:34:16 GMT
This list is closed. Please use the new apache mailing list...

http://ibatis.apache.org/help.html

Cheers,
Clinton

On 10/18/05, oleksa borodie <oleksa.borodie@gmail.com> wrote:
>
> Hello.
>
> I use SqlMapper.Configure(XmlDocument) to get SqlMapper.
> Now I got warning that this method will be removed from next iBATIS
> version and DomSqlMapBuilder.Configure should be used instead.
>
> But DomSqlMapBuilder.Configure is not static. So I create new
> instance of DomSqlMapBuilder and call its Configure method in my code.
> Is it right or there is some static method that should be used?
> I'm configuring 3 instances of the SqlMapper and reference to the
> SqlMapper objects are saved and used at runtime to prevent unnecessary
> object creation overhead.
>
> Thank you.
>

Mime
View raw message