-->
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: Hibernate JTA Transaction Manager
PostPosted: Tue Dec 09, 2008 2:12 pm 
Newbie

Joined: Tue Dec 09, 2008 2:03 pm
Posts: 1
I'm trying to configure Hibernate Tools in Eclipse. My problem is that I keep getting the error "Sessionfactory error: The chosen transaction strategy requires access to the JTA TransactionManager". I haven't specified a transaction strategy anywhere. Where is Hibernate getting this setting from?

I configured Hibernate within Eclipse by going to the Hibernate perspective and adding a new configuration. Within the configuration editor, I've set:
type = JPA (since I'm using JPA)
database connection, I'm using MySQL, verified connection wowkrs with test connection
property file = an empty hibernate.properties (I let it create a new one)
configuration file = blank (editor is grayed out)
persistent unit = blank

Why would my Hibernate think that I'm using JTA? Where (what file) is it reading to set the transaction strategy?

Thanks, Steve


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 10, 2008 7:43 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
in your peristence.xml you have <jta-datasource> ?

_________________
Max
Don't forget to rate


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.