fix(jdbc): support manual transactions and auto-commit control (#6997)

* fix(jdbc): support manual transactions

* fix(jdbc): preserve paged query transaction state

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
This commit is contained in:
zipgandzipg authored and GitHub committed 2026-08-24 14:50:18 +08:00
1 parent c8dbeeaf7d
commit c021fe009b
6 files changed
+662 -55

No files matched your search

+8
View File
@@ -190,6 +190,14 @@ pub enum TxnConnection {
database: Option<String>,
cleanup_guard: ClientSessionPoolCleanupGuard,
},
/// Dedicated external-driver process whose shared JDBC connection owns the TX.
ExternalDriver {
session: Arc<PluginDriverSession>,
config: Arc<ConnectionConfig>,
client_session_id: String,
database: Option<String>,
cleanup_guard: ClientSessionPoolCleanupGuard,
},
}
pub struct TransactionSession {