I ran into a problem that transactions do not work with a double dynamic proxy of Connection/PreparedStatement. Here is a Java code example: https://paste.ubuntu.com/p/ds73pjfGpZ/. This works until you uncomment lines 74-78. If I'll do something in method with @Transactional annotation, the transaction won't start. I have tried to implement it with CGLIB with no luck. Finally, I had to stop on simple Delegates with a lot of boiler code. Is it a bug?
Comment From: snicoll
@squadgazzz can you please move that paste I can't access without login (and register) into a small sample we can run ourselves? You can do that by attaching a zip to this issue or pushing the code to a GitHub repository.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.