ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Ibatis based application Loading
Date Wed, 27 Jul 2005 14:44:24 GMT
What version of IBatisNet are you using?

Is your application a web application or a win-form application?

According to log4net and my current project, my Ahtlon XP 2500+ can
process about 50 statements located in 9 embedded sql map files in
about 2 seconds in DEBUG mode. I haven't noticed that as being slow. It
usually takes much longer to just recycle the application.

How many sql map files do you have?

What do you mean when you say "many temporaries assemblies are
generated"? How are you observing this?

The Castle assembly is used for lazy loading of objects and for dao
things (i.e. dao.config). Are you using either of those?

--- nicolas.theron@bnpparibas.com wrote:
> Hi,
> I use Ibatis.net on a large project with an Oracle Database and the
> time of
> loading of my application is very important:
> After a little investigation, there is what I see :
> A long time is spent for the loading of the .NET assemblies
> containing
> embedded  sqlMap xml files. Indeed, many temporaries assemblies are
> generated (by Castle.DynamicProxy.dll ???) using CSC.exe. I have
> noticed
> generation time and the number of assemblies is more or less
> important
> according the sqlmap xml file.  Why ????? How can I reduce it ? any
> statement can increase generation time ?
> Moreover, Is it possible to delay the loading of the sqlMap xml file
> until
> I really need them ? That is to say , instead of parsing all sqmMap
> xml
> files at the loading of sqlMap.config ,is it possible to add them to
> the
> the mapper dynamically ??
> Thx and regards
> PS : Sorry for my poor english
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential. 
> If you receive this message in error, please delete it and 
> immediately notify the sender. Any use not in accord with 
> its purpose, any dissemination or disclosure, either whole 
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message. 
> BNP PARIBAS (and its subsidiaries) shall (will) not 
> therefore be liable for the message if modified. 
>                 ---------------------------------------------
> Ce message et toutes les pieces jointes (ci-apres le 
> "message") sont etablis a l'intention exclusive de ses 
> destinataires et sont confidentiels. Si vous recevez ce 
> message par erreur, merci de le detruire et d'en avertir 
> immediatement l'expediteur. Toute utilisation de ce 
> message non conforme a sa destination, toute diffusion 
> ou toute publication, totale ou partielle, est interdite, sauf 
> autorisation expresse. L'internet ne permettant pas 
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce 
> message, dans l'hypothese ou il aurait ete modifie.

View raw message