OpenJPA
  1. OpenJPA
  2. OPENJPA-956 OpenJPA 2.0 iteration 5 primary task
  3. OPENJPA-990

setHint should return IllegalArgumentException for invalid query/lock timeout values

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: query
    • Labels:
      None

      Description

      JPA2 public draft spec section 3.6.1 Query Interface notes that Query.setHint() should throw a IllegalArgumentException if a supplied hint value is not valid for a given implementation.
      For lock/query timeout, any user supplied value < -1 is invalid and should throw an exception, which is not occurring.

      1. OPENJPA-990.patch
        11 kB
        Donald Woods
      2. OPENJPA-990_20090326.patch
        13 kB
        Donald Woods

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development