From c6682c85ddd0228f144154d8e712d339de1cabb5 Mon Sep 17 00:00:00 2001 From: Ivan Gagarkin Date: Wed, 16 Oct 2024 16:34:03 +0200 Subject: [PATCH] dbeaver/pro#3384 Make AbstractJdbcConnection.getSchema throwable --- .../src/com/dbeaver/jdbc/model/AbstractJdbcConnection.java | 2 +- .../src/com/dbeaver/jdbc/model/AbstractJdbcStatement.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcConnection.java b/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcConnection.java index 48c95d2..ab4c021 100644 --- a/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcConnection.java +++ b/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcConnection.java @@ -204,7 +204,7 @@ public void setSchema(String schema) throws SQLException { } @Override - public String getSchema() { + public String getSchema() throws SQLException { return null; } diff --git a/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcStatement.java b/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcStatement.java index 30a6ced..a980438 100644 --- a/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcStatement.java +++ b/modules/com.dbeaver.jdbc.api/src/com/dbeaver/jdbc/model/AbstractJdbcStatement.java @@ -33,7 +33,7 @@ public abstract class AbstractJdbcStatement protected int fetchSize; protected long maxRows; protected String cursorName; - private int maxFieldSize; + protected int maxFieldSize; public AbstractJdbcStatement(@NotNull CON connection) throws SQLException { this.connection = connection;