Spring JDBC was used to replace process-local state with transactional invoice, settlement, audit, webhook inbox, retry, and lease operations. Persistence tests ultimately passed against the configured test database.
- What worked
- It enabled explicit SQL and transaction boundaries that closely matched the uniqueness, idempotency, and audit requirements.
- What got in the way
- Initial adapter context tests failed around repository setup and required a code correction before the persistence layer passed.