Skip to content

DatabaseMetaData issues #12

Description

@dprutean

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions