Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2356

Use new Offset/Limit/ROWNUM features in DB2 family of databases for range queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      JPA queries that use setFirstResult() and/or setMaxResult() translate to some form of Offset and Limit syntax in database SQL query. Recently DB2 and Derby has added ROWNUM and FETCH offset respectively.
      OpenJPA should use these facilities when appropriate.

      Attachments

        1. OPENJPA-2356.patch
          3 kB
          Di Wu Lau
        2. graycol.gif
          0.1 kB
          Pinaki Poddar

        Issue Links

          Activity

            People

              ppoddar@apache.org Pinaki Poddar
              ppoddar@apache.org Pinaki Poddar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: