# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1675958127 -3600 # Node ID 4b11238ebe153fd62184a70efd1fe944fed4f0fd # Parent ee061ab9ee32e096c07296114ba07ebe4a3a534e Improve DatabaseMetaData.supportsStoredFunctionsUsingCallSyntax(). Future versions of MonetDB (post Sep2022) will have capability to parse and execute ODBC/JDBC escape sequence syntax. diff --git a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java --- a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java +++ b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java @@ -3862,10 +3862,13 @@ public final class MonetDatabaseMetaData * vendor functions using the stored procedure escape syntax. * * @return true if so; false otherwise + * @throws SQLException if a database error occurs */ @Override - public boolean supportsStoredFunctionsUsingCallSyntax() { - return false; + public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { + if ((getDatabaseMajorVersion() == 11) && (getDatabaseMinorVersion() <= 45)) + return false; + return true; } /**