Details
Description
The DatabaseMetaData methods getBestRowIdentifier, getColumnPrivileges, getIndexInfo, getVersionColumns, getPrimaryKeys, getImportedKeys, getExportedKeys do not allow table name patterns. However, the SQL in metadata.properties implement these with "table like ?", thus allowing patterns. The SQL for these methods should be modified to "table=?".
Attachments
Attachments
Issue Links
- depends upon
-
DERBY-1484 Client and embedded behave differently when the table name is null in DatabaseMetaData methods
- Closed
- relates to
-
DERBY-2758 ODBC metadata function "SQLForeignKeys" returns different results in 10.3.
- Closed