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

Add BOOLEAN to the list of datatypes returned by DatabaseMetaData.getTypeInfo()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.7.1.1
    • Component/s: JDBC
    • Labels:
      None

      Description

      At this point, BOOLEAN is as well supported as Derby's other datatypes. We should add BOOLEAN to the list of supported datatypes.

        Issue Links

          Activity

          Hide
          rhillegas Rick Hillegas added a comment -

          Attaching derby-4730-01-aa-getTypeInfo.diff. This patch adds BOOLEAN to the list of system datatypes returned by DatabaseMetaData.getTypeInfo(). Regression tests are running.

          Touches the following files:

          -------------

          M java/engine/org/apache/derby/impl/jdbc/metadata.properties

          Added BOOLEAN to the appropriate metadata query.

          -------------

          M java/testing/org/apache/derbyTesting/functionTests/tests/lang/BooleanValuesTest.java
          M java/testing/org/apache/derbyTesting/functionTests/tests/lang/CastingTest.java
          M java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
          M java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
          M java/testing/org/apache/derbyTesting/functionTests/master/connectionJdbc20.out

          Adjusted tests to account for the new datatype.

          Show
          rhillegas Rick Hillegas added a comment - Attaching derby-4730-01-aa-getTypeInfo.diff. This patch adds BOOLEAN to the list of system datatypes returned by DatabaseMetaData.getTypeInfo(). Regression tests are running. Touches the following files: ------------- M java/engine/org/apache/derby/impl/jdbc/metadata.properties Added BOOLEAN to the appropriate metadata query. ------------- M java/testing/org/apache/derbyTesting/functionTests/tests/lang/BooleanValuesTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/lang/CastingTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java M java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java M java/testing/org/apache/derbyTesting/functionTests/master/connectionJdbc20.out Adjusted tests to account for the new datatype.
          Hide
          rhillegas Rick Hillegas added a comment -

          Tests passed cleanly for me. Committed at subversion revision 961497.

          Show
          rhillegas Rick Hillegas added a comment - Tests passed cleanly for me. Committed at subversion revision 961497.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development