Skip to main content

dawdler-db-plug

Module Introduction​

Server-side database transaction plugin, providing the @DBTransaction transaction aspect, read/write splitting, and sharded database routing based on dawdler-tx-core. The local transaction core (transaction manager / connection context / the DBTransaction annotation) has been split out into dawdler-tx-plug. Participating propagation behaviors (REQUIRED/NESTED) only guarantee the same physical transaction when they are mapped to the same data source and within the same shard; when nesting across databases/shards, the inner layer commits independently. For the transaction API (propagation/isolation/timeout/connection occupancy), see dawdler-tx-core, and for the @DBTransaction annotation of this module see dawdler-db-core.

1. Submodule Introduction​

dawdler-db-core database core module

dawdler-client-plug-db web-side database module

dawdler-server-plug-db server-side database module