Derby
  1. Derby
  2. DERBY-942

Add JDBC4 Ease of Development Support

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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().

      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

        Rick Hillegas created issue -
        Rick Hillegas made changes -
        Field Original Value New Value
        Assignee Anurag Shekhar [ anurag ]
        Rick Hillegas made changes -
        Fix Version/s 10.2.0.0 [ 11187 ]
        Component/s JDBC [ 11407 ]
        Rick Hillegas made changes -
        Description As described in the JDBC 4 spec, sections 20.1 and 3.1. 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().
        Anurag Shekhar made changes -
        Attachment derby-942.diff [ 12323380 ]
        Anurag Shekhar made changes -
        Attachment derby-942_2.diff [ 12323921 ]
        Rick Hillegas made changes -
        Attachment TestQueryObject.diff [ 12324274 ]
        Attachment TestDbMetaData.diff [ 12324273 ]
        Anurag Shekhar made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Kristian Waagan made changes -
        Attachment derby-942-enable-connectionTest.stat [ 12334693 ]
        Attachment derby-942-enable-connectionTest.diff [ 12334692 ]
        Kristian Waagan made changes -
        Derby Info [Patch Available]
        Kristian Waagan made changes -
        Attachment derby-942-connectiontest-rewrite.stat [ 12334886 ]
        Attachment derby-942-connectiontest-rewrite.diff [ 12334887 ]
        Rick Hillegas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Dag H. Wanvik made changes -
        Issue Type New Feature [ 2 ] Improvement [ 4 ]
        Gavin made changes -
        Workflow jira [ 12346912 ] Default workflow, editable Closed status [ 12797807 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development