Joined: Tue Jan 20, 2009 8:04 am Posts: 1				
			 | 
			
				
				
					| 
					
						 Hi,
 
 Bit of a weird one this but I need to intercept & replace the nHibernate insert and update statements for a project I'm working on. I am new to nHibernate so I might be on the wrong path here and any advice would be appreciated.
 
 What I have is a database where I can read from db views but can only insert and update via web service calls. So I was hoping that I could somehow intercept and replace the insert and update statements that nHibernate generates with my own web service calls.
 
 I have looked at using either  IInterceptor or ILifecycle but cannot seem to figure out how get at the generated sql statements never mind replacing them.
 
 Any thoughts?
 
 Thanks
  John 
					
  
						
					 | 
				 
				 
			 |