Hi, I have to "update" a table and get the same data from the table in one transaction. The problem here is, unless the "update " transaction is committed i cannot fetch the data. This is my code
<aop:pointcut id="allServicesOperation" expression="execution(* com.interfaces.*Services.*(..))"/>
<aop:advisor advice-ref="transactionAdvice" pointcut-ref="allServicesOperation"/>
I have the two statements in one method in my Services class.
I think ibatis is taking one connection each for update and select. How can i use the same connection object so that i can update and select the same data in the same transaction.
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss