I highly recommend NH Profiler <http://nhprof.com/> (From Ayende) if you're
planning on examining SQL with any degree of depth. It nicely groups
statements per session/thread (with a stack trace), and gives you a lot of
good suggestions to improve how your mappings are set up to maximize
performance.

On Wed, Oct 7, 2009 at 3:27 AM, CarmineM <carmine.mol...@gmail.com> wrote:

>
> Paul, thank you so much! I owe you one.
> I will have a look at the link you suggesteed!
>
> About transactions, I will definitely use them. My code now is in a
> very embrional stage
> in which I'm trying to do the simplest thing that could possibily
> work. Augmenting with
> functionalities as the need arises. So, now, with the (poor) code I
> showed you the need
> for transaction is starting to emerge.
>
> Yes, I'm not that proud of my current repository implementation too.
> Still as of now, I haven't
> come up with a better way to handle multiple insertion through the
> repository.
> I thought of using an overload for the Add method which accepts a list
> of items to be persisted and
> wraps everything up in a transaction. Then I didn't put it into
> practice because I was stopped by
> the behaviour I have exposed in my post.
>
> Again, thank you all for you time and efforts!
>
> >
>


-- 
- Hudson
http://www.bestguesstheory.com
http://twitter.com/HudsonAkridge

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to