Blog Archives

07: Debugging Spring Transaction Management

Never just trust that adding @Transactional annotation is going to create a transactional boundary for your service layer. EventRestController –> EventMergeProcesorImpl –> EventControlDAOImpl The @Transactional annotations added to “public” methods of …



9 Java Transaction Management Interview Q&As

Q1. What is a Transaction? A1. A transaction is a set of operations that should be completed as a unit. If one operation fails then all the other operations fail as …



JTA interview Q&A

Q1. What is a Transaction? What does setAutoCommit do? A1. A transaction is a set of operations that should be completed as a unit. If one operation fails then all the …



Spring, JavaConfig (@Configuration), and TransactionManager

This extedns configuring JDBC and JPA to configure the TransactionManager.

Example #1 Wiring JDBC Transaction Manager

Note: @EnableTransactionManagement annotation



Transaction management in SQL — Sybase example

Q. How do you perform transaction management in SQL stored procedures?
A. Handled with begin, commit, and rollback ‘tran’ commands in Sybase server.

Q. Why is …



800+ Java Interview Q&As Menu

Prepare to fast-track & go places
with multi-offers to choose from & increased earning potential. Expand your horizons along the way by taking the road less travelled.

Career Paths as a Developer

Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories.
Top