Database Transactions
Hint
This article is generated by AI translation.
dbVisitor includes a lightweight local transaction manager that supports full propagation behaviors and isolation levels. You can control transactions in three ways; pick the one that best fits your scenario.
Guide
Concepts
- Local Transaction Manager: how the dbVisitor transaction manager works.
- Propagation behavior: understand the basics of propagation.
- Isolation levels: understand how isolation impacts reads/writes.
How to use
- Programmatic: manually control transactions in code.
- Template Mode: run code blocks in a fixed transaction template.
- Annotation-based: control the data source transaction via annotations on methods.