-->
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.  [ 1 post ] 
Author Message
 Post subject: Transaction was not created successfully error on commit
PostPosted: Thu Sep 06, 2007 12:22 am 
Newbie

Joined: Sun Nov 12, 2006 9:24 pm
Posts: 5
Hi everyone,

I have inherited a fairly old application and have been in the process of upgrading from hibernate 2.0 (which was working ok) to hibernate 3.2.5.

I went through the migration guide and did everything as I was supposed to but am now getting the following exception whenever I try and commit a transaction.

"org.hibernate.TransactionException: Transaction not successfully started"


I am running Hibernate 3.2.5 under JBoss 3.2.5 using JTA transactions in the standard way. My pseudocode is.

session = sessionFactory.openSession();
tx = session.openTransaction();
session.DoSomeSaveAndUpdate()
tx.commit();

The error is thrown on the tx.commit();

I am running on MS SQL Server 2005.

Any ideas as to what this message means at all?

cheers,


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

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.