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 cheng li <ch...@chenglabs.com> on 2005/10/05 12:05:14 UTC

Loading of IBatis

Hi,

 

I've trying out IBatis.NET and NHibernate the last few days. Sofar I've a
small preference for IBatis because I like to tweak my own SQL code and the
sourcecode of IBatis is for me better to grasp. NHibernate seems a way bit
too much for what I want to do, simply persisting domain objects.

 

The only problem that I have is the loading time, it takes about 5 seconds
to load a sqlmap and from the mail archive I understand this is caused by
the fact that IBatis.NET uses XML serializer and deserializers a lot to
parse the sqlmap config file. Are there any tips and tricks to speed up the
loading time.

 

Cheers,

Cheng


Re: Loading of IBatis

Posted by Ron Grabowski <ro...@yahoo.com>.
This thread talks about the improvements in more detail:

 http://www.mail-archive.com/user-cs@ibatis.apache.org/msg00259.html

--- Gilles Bayon <ib...@gmail.com> wrote:

> The version in SVN don't use serializer and loading is boost.
> 
> On 10/5/05, cheng li <ch...@chenglabs.com> wrote:
> >
> >  Hi,
> >
> >  I've trying out IBatis.NET and NHibernate the last few days. Sofar
> I've a
> > small preference for IBatis because I like to tweak my own SQL code
> and the
> > sourcecode of IBatis is for me better to grasp. NHibernate seems a
> way bit
> > too much for what I want to do, simply persisting domain objects.
> >
> >  The only problem that I have is the loading time, it takes about 5
> > seconds to load a sqlmap and from the mail archive I understand
> this is
> > caused by the fact that IBatis.NET uses XML serializer and
> deserializers a
> > lot to parse the sqlmap config file. Are there any tips and tricks
> to speed
> > up the loading time.
> >
> >  Cheers,
> >
> > Cheng
> >
> 


Re: Loading of IBatis

Posted by Gilles Bayon <ib...@gmail.com>.
The version in SVN don't use serializer and loading is boost.

On 10/5/05, cheng li <ch...@chenglabs.com> wrote:
>
>  Hi,
>
>  I've trying out IBatis.NET and NHibernate the last few days. Sofar I've a
> small preference for IBatis because I like to tweak my own SQL code and the
> sourcecode of IBatis is for me better to grasp. NHibernate seems a way bit
> too much for what I want to do, simply persisting domain objects.
>
>  The only problem that I have is the loading time, it takes about 5
> seconds to load a sqlmap and from the mail archive I understand this is
> caused by the fact that IBatis.NET uses XML serializer and deserializers a
> lot to parse the sqlmap config file. Are there any tips and tricks to speed
> up the loading time.
>
>  Cheers,
>
> Cheng
>