-
-
Save eric2323223/3615792 to your computer and use it in GitHub Desktop.
Transaction configuration with Spring 3.1 - the transaction Configuration in XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="txManager" class="org.springframework.orm.jpa.JpaTransactionManager"> | |
<property name="entityManagerFactory" ref="myEmf" /> | |
</bean> | |
<tx:annotation-driven transaction-manager="txManager" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment