Skip to content

Commit

Permalink
add settings that DataSourceTransactionManager#setRollbackOnCommitFai…
Browse files Browse the repository at this point in the history
…lure=true in projectName-env.xml.#293
  • Loading branch information
bturamatuyu committed Jan 26, 2017
1 parent ba38ff7 commit f2a584d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
<property name="rollbackOnCommitFailure" value="true" />
</bean>
REMOVE THIS LINE IF YOU USE MyBatis3 -->
</beans>

0 comments on commit f2a584d

Please sign in to comment.