Hi, I use the latest version of ibatis. in a win form application with the Microsoft Oracle Data Provider I do not use dao.config features
When i am in Debug Mode in Visual Studio, In the Trace windows, i can see the assemblies beeing loaded While the loading, the process CSC.exe is running. The Assemblies containing the sqlMapFiles are primo.marketdataservices, primo.pnldal, primo.scriptingservices. here : 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\primo.marketdataservices\1.0.0.0 __ef29f356eda50268\primo.marketdataservices.dll', Symbols loaded. 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\ibatisnet.common\1.1.458.0 __428aa51bc400a11f\ibatisnet.common.dll', Symbols loaded. 'DefaultDomain': Loaded 'jurb9rwb', No symbols loaded. 'DefaultDomain': Loaded 'lnraqjd_', No symbols loaded. 'DefaultDomain': Loaded 'd7wynus3', No symbols loaded. 'DefaultDomain': Loaded '2b4-ol1x', No symbols loaded. 'DefaultDomain': Loaded '9_huzq0f', No symbols loaded. 'DefaultDomain': Loaded 'ryptzum9', No symbols loaded. 'DefaultDomain': Loaded '1pasllom', No symbols loaded. 'DefaultDomain': Loaded '_wgtixtx', No symbols loaded. 'DefaultDomain': Loaded 'ivw5ei5_', No symbols loaded. 'DefaultDomain': Loaded 'riz6t9w5', No symbols loaded. 'DefaultDomain': Loaded 'f-xtbnsa', No symbols loaded. 'DefaultDomain': Loaded 'yx-gyrq4', No symbols loaded. 'DefaultDomain': Loaded '-4mtcriu', No symbols loaded. 'DefaultDomain': Loaded 'lhooielr', No symbols loaded. 'DefaultDomain': Loaded '22cgd_ng', No symbols loaded. 'DefaultDomain': Loaded 'zi6iq3ho', No symbols loaded. 'DefaultDomain': Loaded '71i5fmmt', No symbols loaded. 'DefaultDomain': Loaded 'innsbocj', No symbols loaded. 'DefaultDomain': Loaded '8xtbv4oa', No symbols loaded. 'DefaultDomain': Loaded 'qmrv_ldg', No symbols loaded. 'DefaultDomain': Loaded 'i0xdztal', No symbols loaded. 'DefaultDomain': Loaded 's0pgfq2e', No symbols loaded. 'DefaultDomain': Loaded 'uj83mdvk', No symbols loaded. 'DefaultDomain': Loaded 'un9yqleb', No symbols loaded. 'DefaultDomain': Loaded '0qpkxsxx', No symbols loaded. 'DefaultDomain': Loaded '3cojkjqb', No symbols loaded. 'DefaultDomain': Loaded 'jeoomj-n', No symbols loaded. 'DefaultDomain': Loaded 'ebxrrfxm', No symbols loaded. 'DefaultDomain': Loaded 'xet2bqdj', No symbols loaded. 'DefaultDomain': Loaded 'jlbhsq7x', No symbols loaded. 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\primo.pnldal\1.0.0.0 __4069bea92ebbc702\primo.pnldal.dll', Symbols loaded. 'DefaultDomain': Loaded 'ptu7ynxq', No symbols loaded. 'DefaultDomain': Loaded 'j8vgjrfc', No symbols loaded. 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\primo.scriptingservices\1.0.0.0 __bc0d9c7f0c5ed1c7\primo.scriptingservices.dll', Symbols loaded. 'DefaultDomain': Loaded 't9vfjrfj', No symbols loaded.' 'DefaultDomain': Loaded 'p-vgjrfc', No symbols loaded.' 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\castle.dynamicproxy\1.1.0.0 __407dd0808d44fbdc\castle.dynamicproxy.dll', No symbols loaded. THX Extranet [EMAIL PROTECTED] - 07/27/2005 04:44 PM Veuillez répondre à [email protected] Pour : user-cs cc : Objet : Re: Ibatis based application Loading 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? --- [EMAIL PROTECTED] 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. > 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.

