Ah ok, you like the answer without explication.The answer is:
http://nhforge.org/doc/nh/en/index.html#manipulatingdata-interceptors

2009/7/2 Bruno Lima <[email protected]>

> Well in this link(http://www.infoq.com/news/2008/08/nhibernate2-arrived)
> there is a mention to AbstractBatcher class and its description is: " now
> use the Interceptor to allow the user intercept and change an SQL before
> it's preparation"
>
> Then...
>
> How Can I utilize this class to intercept the sqls?
>
> Thank again.
>
> Bruno.
>
> 2009/7/2 Dario Quintana <[email protected]>
>
> You can use Log4net to see what SQL is sent to the DB
>>
>> http://www.davesquared.net/2008/01/viewing-sql-generated-by-nhibernate.html
>>
>>
>> On Wed, Jul 1, 2009 at 9:39 PM, Bruno Lima <[email protected]> wrote:
>>
>>> Hello.
>>>
>>>  Is there way to intercepting the sql that is sending to data base?
>>>
>>> I want to do like the EmptyInterceptor does with the Entities.
>>>
>>> Sorry,  but I´m a newbie.
>>>
>>> Thank you.
>>>
>>> Bruno.
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Dario Quintana
>> http://darioquintana.com.ar
>>
>> >>
>>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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