Hello there!
I've doing a framework using nhibernate, recently i downloaded the NH
Profiler, a damn good tool.

But,

When i'm trying avoid all "alerts" in the NH Profiler in my framework, when
i load an "User" for example
its ok, but when it uses lazy loading to load "Friends" bag, an alerts shows
in my NH Profiler, saying

"Alert: Use of implicit transactions is discouraged"
(Read description of error here:
http://nhprof.com/Learn/Alert?name=DoNotUseImplicitTransactions )

so, reading the sql generated, i got that sql is generated when Lazy Loading
effect hits the base without
transaction.

How can I fix this ? Or is an nhibernate issue ?


Thanks all

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to