Skip to content

jdbc: database metadata: getColumns reports incorrect column type info #40

Open
@ztarvos

Description

@ztarvos

The info returned by DatabaseMetaData.getColumns() is too limited.
Presently it returns the following:

TABLE_NAME
COLUMN_NAME
ORDINAL_POSITION

The rest of the fields contain some constant or inadequate data:
DATA_TYPE is always Types.OTHER
TYPE_NAME is either "integer" or "scalar"
NUM_PREC_RADIX is always 10
NULLABLE is always 1
IS_NULLABLE is always YES
SOURCE_DATA_TYPE ia always Types.OTHER
IS_AUTOINCREMENT is always "NO"
IS_GENERATEDCOLUMN is always "NO"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions