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 issues #12

Open
dprutean opened this issue Aug 19, 2019 · 0 comments
Open

DatabaseMetaData issues #12

dprutean opened this issue Aug 19, 2019 · 0 comments

Comments

@dprutean
Copy link

Hi,
I call
databaseMetaData.getPrimaryKeys( schema.getCatalogName(), schema.getSchemaName(), table.getName())
then getShort(5) which based on documentation should be a short
https://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html#getPrimaryKeys(java.lang.String,%20java.lang.String,%20java.lang.String)

Still I get the error below.

Similar issue with md.getImportedKeys();
and rs.getShort(10) rs.getShort(11)

Please fix this, as this is used in DbSchema designer ( www.dbschema.com ).

class java.lang.Integer cannot be cast to class java.lang.Short (java.lang.Integer and java.lang.Short are in module java.base of loader 'bootstrap')
at com.ascendix.jdbc.salesforce.CachedResultSet.getShort(CachedResultSet.java:348)

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

No branches or pull requests

1 participant