Queries in metadata.properties allow tablepattern for JDBC methods that do not allow patterns
---------------------------------------------------------------------------------------------
Key: DERBY-2610
URL: https://issues.apache.org/jira/browse/DERBY-2610
Project: Derby
Issue Type: Bug
Components: JDBC
Affects Versions: 10.2.2.0, 10.3.0.0
Reporter: Jørgen Løland
Priority: Trivial
Fix For: 10.3.0.0
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=?".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|