-->
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: CMTTransaction
PostPosted: Thu Aug 25, 2005 11:55 am 
Beginner
Beginner

Joined: Thu Jun 30, 2005 4:20 am
Posts: 40
Location: Vienna
Hibernate version:
3.0.5

Full stack trace of any exception that occurs:
Code:
java.lang.NullPointerException
   at org.hibernate.transaction.CMTTransaction.wasCommitted(CMTTransaction.java:127)



Hi,
I'm having troubles with the class
Quote:
org.hibernate.transaction.CMTTransaction
.
I am running in a CMT environment. When I call tx.wasCommitted(), I get the NullpointerException mentioned above. So I had a look into CMTTransaction's source code and found out that the private variable transaction was null.
Moreover, I did not find any code which would set the transaction variable to any value, so in my opinion it will always be null, can never be set to any other value as it is private, and wasCommitted() will always throw a NullPointerException. May this be a bug?

However, it's perfectly possible that I'm missing a point here as I am a Hibernate newbie, then please accept my apologies.

By the way, I found some articles suggesting that Websphere is really giving Hibernate a hard time. Can you tell me how far Websphere 5 and 6 are now being supported as of Hibernate 3.0.5?

best regards,
Stefan


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 5:16 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
http://opensource2.atlassian.com/projects/hibernate/browse/HHH-913

_________________
Emmanuel


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.