Skip to main content

Transactions in Applications

Learn Transactions in Applications (MySQL with Backend Applications, MySQL) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Introduction In application code a transaction groups several SQL statements on one connection so they commit or roll back together. Frameworks wrap this: JDBC setAutoCommit(false) , Spring @Transactional , Django atomic() .

More lessons in MySQL with Backend Applications