OpenJPA
  1. OpenJPA
  2. OPENJPA-916

DistributedTemplate is incorrectly setting some attributes on the statements

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0, 1.3.0, 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: slice
    • Labels:
      None

      Description

      DistributedTemplate.java in openjpa-slice is not setting the setQueryTimeout() and setMaxRows() properties on its List of statements, but instead is setting the value on setMaxFieldSize() instead.

      1. OPENJPA-916-branches11x.patch
        0.6 kB
        Donald Woods
      2. OPENJPA-916-branches12x.patch
        0.6 kB
        Donald Woods
      3. OPENJPA-916-branches13x.patch
        0.6 kB
        Donald Woods
      4. OPENJPA-916-trunk.patch
        0.6 kB
        Donald Woods

        Activity

        Hide
        Michael Dick added a comment -

        Some of the users of the 1.2.x and 1.0.x are conservative about changes, especially without a testcase. For now we'll resolve this issue in the released branches only.

        Show
        Michael Dick added a comment - Some of the users of the 1.2.x and 1.0.x are conservative about changes, especially without a testcase. For now we'll resolve this issue in the released branches only.
        Hide
        Donald Woods added a comment -

        Mike, please consider applying to the 1.2.x branch.

        Show
        Donald Woods added a comment - Mike, please consider applying to the 1.2.x branch.
        Hide
        Pinaki Poddar added a comment -

        Thanks Dan for finding this error.
        I will apply the patch to trunk.

        Show
        Pinaki Poddar added a comment - Thanks Dan for finding this error. I will apply the patch to trunk.
        Hide
        Donald Woods added a comment -

        Unassigning so a committer can review and hopefully commit.

        Show
        Donald Woods added a comment - Unassigning so a committer can review and hopefully commit.
        Hide
        Donald Woods added a comment -

        Patch to properly call the setQueryTimeout() and setMaxRows() on the List of Statements.

        Show
        Donald Woods added a comment - Patch to properly call the setQueryTimeout() and setMaxRows() on the List of Statements.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development