JDO
  1. JDO
  2. JDO-176

JPOX fails when a query calls String.matches

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tck
    • Labels:
      None

      Description

      JPOX fails when a query calls String.matches. This bug may be reproduced applying patch JDO-159. The SQL generation of the following query is incorrect:

      SELECT FROM org.apache.jdo.tck.pc.company.Person WHERE firstname.matches('*First')

      The LIKE clause of the generated SQL statement contains '*First'. This is a bug. It should contain '%First'.

        Activity

          People

          • Assignee:
            Erik Bengtson
            Reporter:
            Michael Watzek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development