-->
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: hibernate unaware it is in JTA transactions?
PostPosted: Sun Mar 29, 2009 9:04 am 
Newbie

Joined: Wed Aug 27, 2008 4:21 pm
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 2.1.7c


Code between sessionFactory.openSession() and session.close():



Name and version of the database you are using: Oracle 10g


i have configured hibernate to use bitronix jta, via spring. and in debug mode, i can see that Settings have jtaTransactionFactory and a reference to the BitronixTransactionManager, so why when i try to use session (obtained via SessionFactoryUtils) and use it's begin Transaction (and i can see in debug it's calling jta transaction) bitronix still complains that that data source is being used out side an xa transaction, (it does not do so when i use spring's transactionTemplate.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.