Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-20

Testcase: testLargeSelect fails with MS SQL Database

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2, 3.3
    • 3.3
    • Runtime
    • None
    • MS SQL 2000 / jTDS driver / Maven 1.0.2

    Description

      Running the test project against MS SQL server results in:

      [junit] Testcase: testLargeSelect took 1.469 sec
      [junit] FAILED
      [junit] Total pages expected:<9> but was:<14>
      [junit] junit.framework.AssertionFailedError: Total pages expected:<9> but was:<14>
      [junit] at org.apache.torque.util.LargeSelectTest.testLargeSelect(LargeSelectTest.java:272)
      [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [junit]

      Probably related to the lack of Native LIMIT support in MSSQL.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tv Thomas Vandahl
            monroe CG Monroe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment