OpenJPA
  1. OpenJPA
  2. OPENJPA-378

DB2 SQL incorrectly generating "FETCH FIRST n ROWS ONLY" in subselects

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.0.1, 1.1.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: sql
    • Labels:
      None

      Description

      For select count from (subselect), "FETCH FIRST n ROWS ONLY" clause was generated which is INVALID syntax in DB2.

        Issue Links

          Activity

          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Julien Kronegg made changes -
          Link This issue is related to OPENJPA-759 [ OPENJPA-759 ]
          Patrick Linskey made changes -
          Link This issue relates to OPENJPA-447 [ OPENJPA-447 ]
          Catalina Wei made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Catalina Wei created issue -

            People

            • Assignee:
              Catalina Wei
              Reporter:
              Catalina Wei
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development