-
Notifications
You must be signed in to change notification settings - Fork 625
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#getColumns returns wrong label #837
Comments
Even if the |
I found this in the code: sqlite-jdbc/src/test/java/org/sqlite/DBMetaDataTest.java Lines 1066 to 1067 in 9f521a4
|
Seems like pgjdbc had the same issue, so the spec must have been misspelt at some point: /~https://github.com/pgjdbc/pgjdbc/pull/1323/files I found this H2 commit with some explanations too:
|
Also found this on MySQL, and the last comment:
|
🎉 This issue has been resolved in |
Describe the bug
DatabaseMetaData#getColumns't result contains
SCOPE_CATLOG
, notSCOPE_CATALOG
.https://docs.oracle.com/en/java/javase/17/docs/api//java.sql/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
To Reproduce
Expected behavior
The
SCOPE_CATLOG
should beSCOPE_CATALOG
.Logs
Environment (please complete the following information):
Additional context
Thank you. I love you.
The text was updated successfully, but these errors were encountered: