Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2610

Queries in metadata.properties allow tablepattern for JDBC methods that do not allow patterns

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.2.2.0, 10.3.1.4
    • 10.3.1.4
    • JDBC
    • None
    • Release Note Needed

    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

        1. DERBY-2610-1.stat
          0.8 kB
          Jorgen Loland
        2. DERBY-2610-1.diff
          40 kB
          Jorgen Loland
        3. releaseNote.html
          3 kB
          Myrna van Lunteren
        4. releaseNote.html
          3 kB
          Jorgen Loland

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jorgenlo Jorgen Loland
            jorgenlo Jorgen Loland
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment