Skip to content

Instantly share code, notes, and snippets.

@eugenp
Created December 23, 2011 22:41
Show Gist options
  • Save eugenp/1515575 to your computer and use it in GitHub Desktop.
Save eugenp/1515575 to your computer and use it in GitHub Desktop.
Transaction configuration with Spring 3.1 - the transaction Configuration in XML
<bean id="txManager" class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="myEmf" />
</bean>
<tx:annotation-driven transaction-manager="txManager" />
@eugenp
Copy link
Author

eugenp commented Jan 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment