db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2610) Queries in metadata.properties allow tablepattern for JDBC methods that do not allow patterns
Date Mon, 14 May 2007 10:59:16 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495551
] 

Kristian Waagan commented on DERBY-2610:
----------------------------------------

I ran derbyall/suites.All with DERBY-1484 (modified according to Knut Anders comment) and
this issue. No failures seen (Sun JVM 1.5).

Is it expected that these fixes make it into 10.2 as well?

> 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
>         Assigned To: Jørgen Løland
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         Attachments: DERBY-2610-1.diff, DERBY-2610-1.stat
>
>
> 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.


Mime
View raw message