Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.5.8, 1.5.9
-
None
-
For MariaDB, driver version ="1.5.8" and "1.5.9",
Maria DB server version: MariaDB 10.2.4 RC
OS: windows 10
Description
PK_NAME returned in DatabaseMetadata.getPrimaryKeys() should not be null
For MariaDB, driver version ="1.5.8" and "1.5.9",
Maria DB server version: MariaDB 10.2.4 RC
DatabaseMetadata.getPrimaryKeys() returns PK_NAME as null, which is incorrect.
https://mariadb.com/kb/en/mariadb/create-table/, please note that constraint names cannot be defined by the user.
This bug breaks IBM Cognos' mutual customers to generate relationship based on primary keys and foreign keys.