Hello i have another big trouble with Hibernate.
I have this configuration:
Code:
    <bean id="transactionManager"
      class="org.springframework.transaction.jta.WebLogicJtaTransactionManager">
    </bean>
    
   <bean id="baseBusinessService" abstract="true" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
      <property name="transactionManager" ref="transactionManager" />
      <property name="transactionAttributes">
         <props>
            <prop key="*">PROPAGATION_REQUIRED,-Throwable</prop>
         </props>
      </property>
   </bean>
    
When i force a transaction commit (i need to control a shared database semaphore)
Code:
Transaction tx=getSession().beginTransaction();
...
tx.commit();
I get this error:
Cannot call Connection.commit in distributed transaction.  Transaction Manager will commit the resource manager when the distributed transaction is committed.Can you help me to understand why?
Thank you.