-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Intercept & replace nHibernates insert\update statement
PostPosted: Wed Jan 21, 2009 2:27 pm 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.