-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Description
Michael Isvy opened SPR-6811 and commented
Starting from Spring 3.0 I now can declare the transactionManager inside my @Transactional
annotation as follows:
@Transactional("transactionManager")
public void updateClient(Client client) {
...
}
It would be nice if the existing loggers could show information about which transactionManager we are currenty using.
I am especially thinking of 2 specific loggers: the ones for DataSourceTransactionManager and AnnotationTransactionAttributeSource.
DEBUG: org.springframework.jdbc.datasource.DataSourceTransactionManager - Creating new transaction with name [testCollision1stTime]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
DEBUG: org.springframework.transaction.annotation.AnnotationTransactionAttributeSource - Adding transactional method [dao1UpdateAccount] with attribute [PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly]
Affects: 3.0 GA
Referenced from: commits f0bb45a
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement