I use in my project annotation-based transaction management (I annotate some methods with @Transactional). I would like to set the isolation level globally (not by putting it as an argument to each @Transactional annotation).
Is it possible configure that in the XML? Currently my xml configuration contains
<tx:annotation-driven transaction-manager="txManager"/>
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>
Is it possible to add the isolation somehow to tx:annotation-driven?