[jboss-jira] [JBoss JIRA] Created: (HIBERNATE-62) Default value of hibernate.transaction.factory_class is not used

Takaaki Igarashi (JIRA) jira-events at lists.jboss.org
Tue Apr 17 04:28:30 EDT 2007


Default value of hibernate.transaction.factory_class is not used
----------------------------------------------------------------

                 Key: HIBERNATE-62
                 URL: http://jira.jboss.com/jira/browse/HIBERNATE-62
             Project: Hibernate
          Issue Type: Bug
         Environment: JBoss 4.0.5.AS
Hibernate 3.2.3
Java 1.5
            Reporter: Takaaki Igarashi
         Assigned To: Steve Ebersole
            Priority: Minor


I tried to use container-managed transaction in JBoss with Hibernate.
So, I put the followings in the hibernate configure file:
<property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>

When I run the app, Hibernate complains that "Cannot join transaction, not a JoinableCMTTransaction"

I also tried with org.hibernate.transaction.CMTTransactionFactory and org.hibernate.transaction.JDBCTransactionFactory.
Both of them didn't work either.

When I delete the parameter, it works.
So, I think the default value is not used.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list