Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-939

DAS Should throw an exception when ResultSetMetadata is invalid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java-DAS-M2
    • Java-DAS-M2
    • Java DAS RDB
    • None

    Description

      This test seems to have strayed from its original purpose.

      C:\apacheSVN\java\das\rdb\src\test\java\org\apache\tuscany\das\rdb\test\ResultSetShapeTests.java "testReadSingleVerifyShapeUse"

      The query used intentionally produces invalid ResultSetMetadata and there is no ResultSetShape specified to override its use by the DAS. Since the test assumes the ResultSetMetadata is invalid, I would expect the DAS to throw and exception rather than return an invalid data graph which it seems to be doing.

      Attachments

        Activity

          People

            bdaniel Brent Daniel
            kwilliams Kevin Joe Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: