Fix typo in TransactionManagementConfigurer Javadoc
This commit is contained in:
@@ -53,7 +53,7 @@ public interface TransactionManagementConfigurer {
|
|||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Bean
|
* @Bean
|
||||||
* @Override
|
* @Override
|
||||||
* public PlatformTransactionManager createTransactionManager() {
|
* public PlatformTransactionManager annotationDrivenTransactionManager() {
|
||||||
* return new DataSourceTransactionManager(dataSource());
|
* return new DataSourceTransactionManager(dataSource());
|
||||||
* }</pre>
|
* }</pre>
|
||||||
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing
|
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing
|
||||||
@@ -65,7 +65,7 @@ public interface TransactionManagementConfigurer {
|
|||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* @Override
|
* @Override
|
||||||
* public PlatformTransactionManager createTransactionManager() {
|
* public PlatformTransactionManager annotationDrivenTransactionManager() {
|
||||||
* return txManager(); // reference the existing {@code @Bean} method above
|
* return txManager(); // reference the existing {@code @Bean} method above
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user