CB-5971 do not show transactions button if not supported (#3092)

This commit is contained in:
Ainur
2024-11-25 10:36:53 +00:00
committed by GitHub
parent bde31c3653
commit d2f592c8be
@@ -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 {