-->
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.  [ 3 posts ] 
Author Message
 Post subject: Upgrading from 1.0 to 1.2 documentation incomplete
PostPosted: Wed Apr 25, 2007 12:02 pm 
Newbie

Joined: Mon Apr 16, 2007 5:11 pm
Posts: 5
I have been going through and upgrading our software from using the 1.0 nHibernate library to the 1.2cr2 and I have noticed that there is a BIG lack of warning on the way the ISession.Transaction object has changed. Instead of ISession.Transaction being null when there is no db transaction happening it is now ISession.Transaction.IsActive and the ISession.Transaction.WasCommitted and .WasRolledBack are completely useless because, from what I understand and could be incorrect and please correct me if I am, once the db transcation is committed or rolledback a new ITransaction object is attached to the ISession. I just hope the documentation can be updated to help others going through what I have gone through.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 2:25 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I've updated the migration guide.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 28, 2007 9:31 am 
Newbie

Joined: Mon Apr 16, 2007 5:11 pm
Posts: 5
Thanks! That is was a very critical thing for us.


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