Derby
  1. Derby
  2. DERBY-4730

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

    Details

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

          Gavin made changes -
          Workflow jira [ 12514855 ] Default workflow, editable Closed status [ 12800242 ]
          Rick Hillegas made changes -
          Fix Version/s 10.7.1.1 [ 12315564 ]
          Fix Version/s 10.7.1.0 [ 12314971 ]
          Rick Hillegas made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Rick Hillegas made changes -
          Issue & fix info [Patch Available]
          Fix Version/s 10.7.0.0 [ 12314971 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Hide
          Rick Hillegas added a comment -

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

          Show
          Rick Hillegas added a comment - Tests passed cleanly for me. Committed at subversion revision 961497.
          Rick Hillegas made changes -
          Issue & fix info [Patch Available]
          Rick Hillegas made changes -
          Attachment derby-4730-01-aa-getTypeInfo.diff [ 12448896 ]
          Hide
          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
          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.
          Rick Hillegas made changes -
          Assignee Rick Hillegas [ rhillegas ]
          Rick Hillegas made changes -
          Field Original Value New Value
          Link This issue is part of DERBY-499 [ DERBY-499 ]
          Rick Hillegas created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development