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

jdbc: metadata: retrieve database version #106

Open
Totktonada opened this issue Jan 23, 2019 · 0 comments
Open

jdbc: metadata: retrieve database version #106

Totktonada opened this issue Jan 23, 2019 · 0 comments
Labels
Milestone

Comments

@Totktonada
Copy link
Member

DatabaseMetaData.

Methods:

  • getDatabaseMajorVersion
  • getDatabaseMinorVersion
  • getDatabaseProductName -- ok; just cover with a test
  • getDatabaseProductVersion -- ok; just cover with a test

JDBC support I think should be reported as 4.2 instead of 2.1 (despite it is
not fully compliant):

  • getJDBCMajorVersion
  • getJDBCMinorVersion
@Totktonada Totktonada modified the milestones: JDBC MVP, JDBC metadata Jan 23, 2019
nicktorwald added a commit that referenced this issue Jan 15, 2020
The driver can connect to different Tarantool instances within a range
of server versions. Sometimes, it's required to set a driver behaviour
depending on those versions (i.e. in scope of #213 the driver needs to
generate the functions for JDBC C4 LTRIM/RTRIM that are recognizable by
a particular Tarantool version).

This commit also includes implementation of two public DatabaseMetaData
methods getDatabaseMajorVersion and getDatabaseMinorVersion.

Affects: #213
Closes: #106
nicktorwald added a commit that referenced this issue Jan 15, 2020
The driver can connect to different Tarantool instances within a range
of server versions. Sometimes, it's required to set a driver behaviour
depending on those versions (i.e. in scope of #213 the driver needs to
generate the functions for JDBC C4 LTRIM/RTRIM that are recognizable by
a particular Tarantool version).

This commit also includes implementation of two public DatabaseMetaData
methods getDatabaseMajorVersion and getDatabaseMinorVersion.

Affects: #213
Closes: #106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant