mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-5971 do not show transactions button if not supported (#3092)
This commit is contained in:
+1
-1
@@ -276,7 +276,7 @@ public class WebSQLContextInfo implements WebSessionProvider {
|
||||
public Boolean isAutoCommit() throws DBWebException {
|
||||
DBCExecutionContext context = processor.getExecutionContext();
|
||||
DBCTransactionManager txnManager = DBUtils.getTransactionManager(context);
|
||||
if (txnManager == null) {
|
||||
if (txnManager == null || !txnManager.isSupportsTransactions()) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user