-->
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.  [ 4 posts ] 
Author Message
 Post subject: COM+ and ServicedComponent transactions?
PostPosted: Sun May 22, 2005 8:04 am 
Will NHibernate running within the context of a ServicedComponent's declarative transaction automatically enlist that transaction? Or more specifically, if I have a method that has Transaction=RequiresNew and then invoke any number of NHibernate operations, will these operations all execute within the context of the COM+ transaction?

Thanks
Alistair


Top
  
 
 Post subject:
PostPosted: Sun May 22, 2005 8:05 am 
Newbie

Joined: Sun May 22, 2005 7:29 am
Posts: 6
ha! Forgot to login...


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 22, 2005 9:03 pm 
Regular
Regular

Joined: Mon May 16, 2005 1:35 am
Posts: 67
Yes.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 24, 2005 7:03 pm 
Newbie

Joined: Sun May 22, 2005 7:29 am
Posts: 6
Thanks!

Is it possible to perform two different database operations sequentially within two different ISessions and have them operate under the same COM+ transaction?

If so, will this cause COM+ to invoke the DTC to manage this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.