Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-942

Add JDBC4 Ease of Development Support

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.2.1.6
    • Component/s: JDBC
    • Labels:
      None
    • Issue & fix info:
      Patch Available

      Description

      As described in the JDBC 4 spec, sections 20.1, 20.2, and 3.1.

      The Ease of Development extensions provide a way to create tabular DataSets from queries and tuple signatures. The jdk ships with a factory for creating these DataSets, which is a class which implements the QueryObjectGenerator interface. A database can write its own custom QueryObjectGenerator, or just ship with the default, jdk-shipped version. For this task, we will simply wire the default jdk-shipped factory into the appropriate methods: Connection.createQueryObject() and DataSource.createQueryObject().

        Attachments

        1. derby-942_2.diff
          17 kB
          Anurag Shekhar
        2. derby-942.diff
          16 kB
          Anurag Shekhar
        3. derby-942-connectiontest-rewrite.diff
          11 kB
          Kristian Waagan
        4. derby-942-connectiontest-rewrite.stat
          0.3 kB
          Kristian Waagan
        5. derby-942-enable-connectionTest.diff
          0.6 kB
          Kristian Waagan
        6. derby-942-enable-connectionTest.stat
          0.2 kB
          Kristian Waagan
        7. TestDbMetaData.diff
          1 kB
          Rick Hillegas
        8. TestQueryObject.diff
          0.5 kB
          Rick Hillegas

          Activity

            People

            • Assignee:
              anurag Anurag Shekhar
              Reporter:
              rhillegas Rick Hillegas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: