We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: @mrotteveel
Assigned to: Roman Rokytskyy (rrokytskyy)
AbstractDatabaseMetaData.getSchemas() returns only a ResultSet with one column. According to the API docs this should be two
Incorrect code: public ResultSet getSchemas() throws SQLException { XSQLVAR[] xsqlvars = new XSQLVAR[1];
xsqlvars\[0\] = new XSQLVAR\(\); xsqlvars\[0\]\.sqltype = ISCConstants\.SQL\_VARYING; xsqlvars\[0\]\.sqllen = 31; xsqlvars\[0\]\.sqlname = "TABLE\_SCHEM"; xsqlvars\[0\]\.relname = "TABLESCHEMAS"; ArrayList rows = new ArrayList\(0\); return new FBResultSet\(xsqlvars, rows\); \}
Corrected code:
public ResultSet getSchemas\(\) throws SQLException \{ XSQLVAR\[\] xsqlvars = new XSQLVAR\[2\]; xsqlvars\[0\] = new XSQLVAR\(\); xsqlvars\[0\]\.sqltype = ISCConstants\.SQL\_VARYING; xsqlvars\[0\]\.sqllen = 31; xsqlvars\[0\]\.sqlname = "TABLE\_SCHEM"; xsqlvars\[0\]\.relname = "TABLESCHEMAS"; xsqlvars\[1\] = new XSQLVAR\(\); xsqlvars\[1\]\.sqltype = ISCConstants\.SQL\_VARYING; xsqlvars\[1\]\.sqllen = 31; xsqlvars\[1\]\.sqlname = "TABLE\_CATALOG"; xsqlvars\[1\]\.relname = "TABLESCHEMAS"; ArrayList rows = new ArrayList\(0\); return new FBResultSet\(xsqlvars, rows\); \}
Commits: 3375a1a
The text was updated successfully, but these errors were encountered:
Fix Version: Jaybird 2.2 [ 10053 ]
timeestimate: 0 [ 0 ]
timeoriginalestimate: 0 [ 0 ]
Sorry, something went wrong.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
status: Resolved [ 5 ] => Closed [ 6 ]
No branches or pull requests
Submitted by: @mrotteveel
Assigned to: Roman Rokytskyy (rrokytskyy)
AbstractDatabaseMetaData.getSchemas() returns only a ResultSet with one column. According to the API docs this should be two
Incorrect code:
public ResultSet getSchemas() throws SQLException {
XSQLVAR[] xsqlvars = new XSQLVAR[1];
Corrected code:
Commits: 3375a1a
The text was updated successfully, but these errors were encountered: