db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5058) Add support for "boolean" data type in UpdatableResultSetTest
Date Sun, 20 Feb 2011 21:28:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997223#comment-12997223
] 

Knut Anders Hatlen commented on DERBY-5058:
-------------------------------------------

Hi Nirmal,

I think the first failure in the updated test is not caused by a code bug. What fails is a
call to updateString() on a boolean column, where the string argument is "1992". This fails,
and so it should, since "1992" isn't a valid boolean value. So I think we need to make the
updateString() test case smarter and not use the values from VARCHARCOL when updating a boolean
column. I tried to change the updateString() case to use the value found in BOOLEANCOL instead
when the type of the target column was boolean, but then I ran into another problem with updateBytes(),
which I think is a bug -- logged as DERBY-5063. Until that bug's fixed, we'd probably need
a workaround in the test, like skipping the problematic combination or something.

>  Add support for "boolean" data type in UpdatableResultSetTest
> --------------------------------------------------------------
>
>                 Key: DERBY-5058
>                 URL: https://issues.apache.org/jira/browse/DERBY-5058
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: C.S. Nirmal J. Fernando
>            Assignee: C.S. Nirmal J. Fernando
>         Attachments: derby-5042-a.diff
>
>
> UpdatableResultSetTest is currently not supporting "boolean" data type. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message