Skip to content
javabypankaj
HomeLibraryPopularCommunity
08
Transactions
10 topics · 32 questions
1@Transactional Basics0/772Declarative vs Programmatic0/223Isolation Levels & MVCC0/334Transaction Propagation0/445Rollback Rules & Pitfalls0/556Deadlocks & Locking0/227Events & Transaction Callbacks0/338Multiple DataSources0/229Distributed Transactions & Saga0/2210Transaction Internals0/2
1@Transactional Basics72Declarative vs Programmatic23Isolation Levels & MVCC34Transaction Propagation45Rollback Rules & Pitfalls56Deadlocks & Locking27Events & Transaction Callbacks38Multiple DataSources29Distributed Transactions & Saga210Transaction Internals2
10 topics32 Qs0%
01Core Java17002OOP3203Collections6704Exception Handling2805Concurrency & Multithreading12706Java Streams, Lambda & Functional Programming32807Spring & Spring Boot2608Transactions3209JPA & Hibernate6910Microservices19411Kafka & Messaging9112DevOps, CI/CD & Tooling13313Database & SQL14114REST API & Web4015Design Patterns & LLD5716Advanced Java7117Coding Problems: DSA49218AWS & Cloud4119Data Engineering19420QA, Testing & SDET4121System Design3522Security2023Behavioral / HR: STAR Method37
10Topics
32Questions
0%Complete
10 of 10 topics
Topics
1@Transactional Basics0/772Declarative vs Programmatic0/223Isolation Levels & MVCC0/334Transaction Propagation0/445Rollback Rules & Pitfalls0/556Deadlocks & Locking0/227Events & Transaction Callbacks0/338Multiple DataSources0/229Distributed Transactions & Saga0/22
10Transaction Internals0/22

Transaction Internals

Transactions·Topic 10 of 10·2 questions
Q1What happens internally when @Transactional executes?

The CGLIB proxy intercepts the call, TransactionInterceptor reads the annotation attributes, PlatformTransactionManager acquires a connection and binds it to the thread, the method runs on that connection, and on return the manager commits or rolls back.

Read Answer
Q2What is PlatformTransactionManager?

PlatformTransactionManager is the interface for begin/commit/rollback, and TransactionSynchronizationManager uses ThreadLocal to bind the connection to the current thread so all repository calls share one connection per transaction.

Read Answer
Previous · Topic 9Distributed Transactions & Saga2 questions
javabypankaj© 2026 javabypankaj
PrivacyTerms
HomeSearchLibrary