Hello,
I need to send a SELECT than an UPDATE in a same transaction because it is something like a semaphore between servers, I would like to know how to do this with Hibernate (I'm newby of it).
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>
How can I do? Thank you very much.