Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incomplete implementation of JDBC driver getNumericFunctions(), getStringFunctions(), getSystemFunctions(), getTimeDateFunctions(), getSQLKeywords() methods in MonetDatabaseMetaData.java #3459

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2014-03-28 14:10:45 +0100
From: Martin van Dinther <<martin.van.dinther>>
To: clients devs <>
Version: 11.17.9 (Jan2014)

Last updated: 2014-10-31 14:14:24 +0100

Comment 19711

Date: 2014-03-28 14:10:45 +0100
From: Martin van Dinther <<martin.van.dinther>>

In java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java the methods getNumericFunctions(), getStringFunctions(), getSystemFunctions(), getTimeDateFunctions() and getSQLKeywords() are NOT correctly implemented. They all return "" which not correct.

In ODBC driver code (clients/odbc/driver/SQLGetInfo.c) these are implemented see: SQLGetInfo() for:
case SQL_NUMERIC_FUNCTIONS:
case SQL_STRING_FUNCTIONS:
case SQL_SYSTEM_FUNCTIONS:
case SQL_TIMEDATE_FUNCTIONS:
case SQL_KEYWORDS:

Step 1: MonetDatabaseMetaData.java needs to be updated for the mentioned methods.

Step 2: Ideally the list of supported functions should be retrieved from the server metadata (such as SYS.FUNCTIONS table). That way we do not need to manually sync the three (and possibly more) hard coded places, but it will become dynamic and in-sync with the SQL database server. This implementation however will require more programming and testing work.

Comment 19899

Date: 2014-07-11 16:08:31 +0200
From: MonetDB Mercurial Repository <>

Changeset ec61f772de56 made by Martin van Dinther martin.van.dinther@monetdbsolutions.com in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=ec61f772de56

Changeset description:

Added implementation for methods getNumericFunctions(), getStringFunctions(), getSystemFunctions(), getTimeDateFunctions() and getSQLKeywords().
This fixes bug #3459

Comment 19941

Date: 2014-08-01 18:46:10 +0200
From: MonetDB Mercurial Repository <>

Changeset e20766848db4 made by Martin van Dinther martin.van.dinther@monetdbsolutions.com in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=e20766848db4

Changeset description:

Added implementation for JDBC Database Meta data methods: getNumericFunctions(), getStringFunctions(), getSystemFunctions(), getTimeDateFunctions() and getSQLKeywords().
This fixes bug #3459

Comment 20369

Date: 2014-10-31 14:14:24 +0100
From: @sjoerdmullender

Oct2014 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant