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:
1 parent
c8dbeeaf7d
commit
c021fe009b
6 files changed
+662
-55
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user