Created
December 23, 2011 22:41
-
-
Save eugenp/1515575 to your computer and use it in GitHub Desktop.
Transaction configuration with Spring 3.1 - the transaction Configuration in XML
This file contains hidden or 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
This gist is used in:
http://www.baeldung.com/2011/12/26/transaction-configuration-with-jpa-and-spring-3-1/