Ok, thanks a lot for this information. I will give it a try, and I'll post the results
Thanks again ----- Original Message ----- From: Markus Zywitza To: [email protected] Sent: Friday, June 19, 2009 1:48 AM Subject: Re: Active Record Bulk Insert 2009/6/18 Cesar Sanz <[email protected]> So, how do StateLess sessions helps in this case, how does it works? It disables 1st-level-cache, so that these objects are not tracked in the application for changes, speeding up the insertion process. I have read the link you provided, but i see this <property name="adonet.batch_size">100</property> If I am using AR, I mean decoring my clases with properties (not using xml mapping) where do I must to put this sentence? Into the configuration: <add key="adonet.batch_size" value="100" /> next to the other <add>-tags. How do I insert records in a batch, but being able to insert inmediatly if desired? AFAIK you just have to call SaveAndFlush() to immediately send the queries collected sofar to the DB. -Markus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
