-->
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.  [ 2 posts ] 
Author Message
 Post subject: Get NHIbernate's connection for sql queries
PostPosted: Thu Jul 31, 2008 1:07 am 
Newbie

Joined: Fri Oct 27, 2006 3:41 am
Posts: 8
I issue standard sql commands sometimes because NHIbernate does not make sense in all cases.

How can I get the current concrete connection from NHIbernate so I can use this connection for my queries and transaction context?

Thank you in advance,

Marty


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 3:33 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
ISession.Connection or ISessionFactory.ConnectionProvider.GetConnection()

_________________
--Wolfgang


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

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.