-->
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: Transaction Management Question...
PostPosted: Tue Jan 17, 2006 5:18 pm 
Newbie

Joined: Tue Jan 17, 2006 5:14 pm
Posts: 4
Say I create a number of DAL methods and each of those methods calls the Save method in NHibernate for a particular domain object. I want to have a master method that calls all those methods in a single transaction boundary.

Is there a way to do this in NHibernate?

I was thinking about using COM+ services. Does NHibernate support COM+ services?

Thanks!


Top
 Profile  
 
 Post subject: Tnx
PostPosted: Wed Jan 18, 2006 3:42 am 
Regular
Regular

Joined: Tue Jan 03, 2006 7:21 am
Posts: 85
Yuo can begin and commit tnx in the "Master Method", all the saves will be then in this one tnx.

NHibernate internally uses ADO.NET Connection so you can use NH in COM+ as well.


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.