You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by oleksa borodie <ol...@gmail.com> on 2005/10/20 09:55:43 UTC
using DomSqlMapBuilder
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.
Re: using DomSqlMapBuilder
Posted by Gilles Bayon <ib...@gmail.com>.
It's right, you should use somtehing as the IBatisNet.DataMapper.Mapperclass.
On 10/20/05, oleksa borodie <ol...@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.
>
PaginatedList Number of Pages
Posted by Mariano <ml...@yahoo.es>.
Hi
all people
its possible to know , how many pages ive recovered
with the method :
SqlMap.QueryForPaginatedList(identificador,parametros,tampag);
or with the object returned
tnks
Mar
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es