|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2014 the original author or authors. |
|
|
|
|
* Copyright 2002-2015 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -33,6 +33,11 @@ import java.lang.annotation.Target; |
|
|
|
|
* @author Sam Brannen |
|
|
|
|
* @since 2.5 |
|
|
|
|
* @see TransactionalTestExecutionListener |
|
|
|
|
* @see org.springframework.transaction.annotation.Transactional |
|
|
|
|
* @see org.springframework.test.annotation.Rollback |
|
|
|
|
* @see org.springframework.test.context.jdbc.Sql |
|
|
|
|
* @see org.springframework.test.context.jdbc.SqlConfig |
|
|
|
|
* @see org.springframework.test.context.jdbc.SqlConfig#transactionManager |
|
|
|
|
* @see org.springframework.test.context.ContextConfiguration |
|
|
|
|
*/ |
|
|
|
|
@Documented |
|
|
|
@ -63,9 +68,9 @@ public @interface TransactionConfiguration { |
|
|
|
|
* </ol> |
|
|
|
|
* |
|
|
|
|
* <p><b>NOTE:</b> The XML {@code <tx:annotation-driven>} element also refers |
|
|
|
|
* to a bean named "transactionManager" by default. If you are using both |
|
|
|
|
* to a bean named {@code "transactionManager"} by default. If you are using both |
|
|
|
|
* features in combination, make sure to point to the same transaction manager |
|
|
|
|
* bean - here in {@code @TransactionConfiguration} and also in |
|
|
|
|
* bean — here in {@code @TransactionConfiguration} and also in |
|
|
|
|
* {@code <tx:annotation-driven transaction-manager="...">}. |
|
|
|
|
*/ |
|
|
|
|
String transactionManager() default ""; |
|
|
|
|