db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Vyas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2280) DatabaseMetaData.getTypeInfo() UNSIGNED_ATTRIBUTE and AUTO_INCREMENT column returns incorrect information for BLOB & CLOB data type
Date Thu, 26 Apr 2007 06:43:15 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Saurabh Vyas updated DERBY-2280:
--------------------------------

    Attachment: Derby-2280_v2.diff

Attached the new patch with comments from Army & Kathey incorporated. Apart updated DatabadeMetaDataTest.java
to add assert condition for the UNSIGNED_ATTRIBUTE field for data all types.

Apart I got assert failure for NULLABILITY field (this is addressed by DERBY-2307), so I need
to comment that assert (in the patch also the assert is commented).  I tried the DatabadeMetaDataTest.java
without my patch on a new trunk, then also I got the same failure. Is there something wrong
? Or am I missing anything ? 

BTW svn stat output :
$ svn stat
M      java/engine/org/apache/derby/impl/jdbc/metadata.properties
M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
X      tools/testing/derby

Derbyall & Junit Suits.All runs fine with no failure. Patch is ready for review.
Comments / Suggestions

> DatabaseMetaData.getTypeInfo() UNSIGNED_ATTRIBUTE and AUTO_INCREMENT column returns incorrect
information for BLOB & CLOB data type
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2280
>                 URL: https://issues.apache.org/jira/browse/DERBY-2280
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.0.0
>            Reporter: Saurabh Vyas
>         Assigned To: Saurabh Vyas
>            Priority: Minor
>         Attachments: Derby-2280.diff, Derby-2280.stat, Derby-2280_v2.diff
>
>
> getTypeInfo() method should return FALSE for UNSIGNED_ATTRIBUTE and AUTO_INCREMENT in
case of BLOB & CLOB data type.
> Currently it returns NULL value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message