Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JDBC Disk Cache
    • Labels:
      None

      Description

      Incorrect SQL generated in JDBCDiskCache.java when clear a region.

      When clearing a cache with a key ending with a colon, the SQL has the syntax "where xxx = like 'key:'". The = causes an SQL syntax error.

      1. JDBCDiskCache.diff
        1.0 kB
        Alistair Forbes

        Activity

        Hide
        Aaron Smuts added a comment -

        I added the patch and a unit test to verify the fix. In SVN.

        Show
        Aaron Smuts added a comment - I added the patch and a unit test to verify the fix. In SVN.
        Hide
        Aaron Smuts added a comment -

        I'll apply the patch. Thanks.

        Show
        Aaron Smuts added a comment - I'll apply the patch. Thanks.

          People

          • Assignee:
            Aaron Smuts
            Reporter:
            Alistair Forbes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development