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

DatabaseMetaData#getDriverVersion is reporting a SNAPSHOT version #318

Closed
buitcj opened this issue Dec 6, 2022 · 2 comments
Closed

DatabaseMetaData#getDriverVersion is reporting a SNAPSHOT version #318

buitcj opened this issue Dec 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@buitcj
Copy link
Contributor

buitcj commented Dec 6, 2022

Describe the bug

Official v1.1.2 release of the driver should report a non-snapshot version via DatabaseMetaData#getDriverVersion but instead reports a snapshot version.

Expected Behavior

Driver version should report a non snapshot version like aws-mysql-connector-java-1.1.2

Current Behavior

Driver version reports a snapshot version like aws-mysql-connector-java-1.1.2-SNAPSHOT (Revision: d85fd009cb21f60b0a9316b94b05628633e261f7)

image

Reproduction Steps

With a valid aurora mysql instance and credentials,

Connection conn = DriverManager.getConnection(jdbcUrl, userName, password);
System.out.println(conn.getMetaData().getDriverVersion());

with a gradle build file using maven central and implementation 'software.aws.rds:aws-mysql-jdbc:1.1.2'

Possible Solution

Possible problem with release process?

Additional Information/Context

No response

The AWS JDBC Driver for MySQL version used

1.1.2

JDK version used

1.8

Operating System and version

MacOS Monterey 12.6.1

@buitcj buitcj added the bug Something isn't working label Dec 6, 2022
@hsuamz
Copy link
Contributor

hsuamz commented Dec 6, 2022

Thanks for the report. We'll take a look at this.

@karenc-bq
Copy link
Contributor

Thank you for raising this issue, the bug has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants