Description
Jdbc v2 driver has hardcoded values for meta attibutes :
COLUMN_NAME = _KEY
KEY_SEQ = 1
PK_NAME = _KEY
But this values should be different for different tables.
how to reproduce:
1) connect to the cluser using jdbcv2 driver
2) CREATE TABLE TAB (ID LONG, SEC_ID LONG, VAL LONG, PRIMARY KEY(ID, SEC_ID))
3) check result of connection.getMetadata().getPrimaryKeys()
Attachments
Issue Links
- is blocked by
-
IGNITE-10645 SQL properties ownership flag should be set at configuration parsing, not query execution.
- Resolved
-
IGNITE-6173 SQL: do not start caches on client nodes
- Resolved
- is duplicated by
-
IGNITE-10118 JDBC v2: metadata.getSchemas returns cache names instead of schema names
- Resolved
- relates to
-
IGNITE-9606 JDBC getPrimaryKeys() returns wrong value for COLUMN_NAME
- Resolved
- links to