Does it set a flag in a bean ?
Does it load “special” bean which then looks for @Transactional ?
Does it set a flag in a bean ? Does it load special bean
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It scans all beans in the application context and creates AOP interceptor for those which are annotated.
This is done via the
SpringTransactionAnnotationParser, which is used byTransactionInterceptor– the aformentioned interceptor.Then whenever these beans are accessed, this advice is triggered and a transaction is started before the target method is executed, and committed after the execution.