Skip to content

Instantly share code, notes, and snippets.

@iyengarajay
Last active April 25, 2017 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iyengarajay/cbe8aff6c589e4e6fb5bb0f3f22a2785 to your computer and use it in GitHub Desktop.
Save iyengarajay/cbe8aff6c589e4e6fb5bb0f3f22a2785 to your computer and use it in GitHub Desktop.
@Bean
@ConditionalOnMissingBean(PlatformTransactionManager.class)
public PlatformTransactionManager transactionManager() {
JpaTransactionManager transactionManager = new JpaTransactionManager();
...
return transactionManager;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment