[ 
http://issues.apache.org/jira/browse/DERBY-1610?page=comments#action_12436543 ] 
            
Knut Anders Hatlen commented on DERBY-1610:
-------------------------------------------

I'm not sure the test should be changed. The test intentionally calls setNull() 
with another type and expects it to succeed. From the conversion tables in 
appendix B of the JDBC spec, it seems reasonable to expect that 
setNull(Types.LONGVARCHAR) on a DATE parameter succeeds. (LONGVARCHAR maps into 
a String object, and setObject(String) is allowed on a DATE parameter. Also, 
getDate() is allowed on a LONGVARCHAR column, and getString() is allowed on a 
DATE column.)

> Resolve difference of type compatibility between Embedded and 
> NetworkServer/NetworkDriver
> -----------------------------------------------------------------------------------------
>
>                 Key: DERBY-1610
>                 URL: http://issues.apache.org/jira/browse/DERBY-1610
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server, Network Client
>            Reporter: Tomohito Nakayama
>         Assigned To: Tomohito Nakayama
>         Attachments: DERBY-1610.diff, DERBY-1610_2.diff, DERBY-1610_3.diff, 
> DERBY-1610_4.diff, DERBY-1610_5.diff, parameterMapping.diff, 
> parameterMapping.diff, 
> parameterMapping.diff.betweenEmbedded_and_NetworkServerNetworkClient, 
> parameterMapping_3.diff, TestNullChar.java, TestTypeCompatibility.java, 
> XCL12.diff
>
>
> There exists difference of type compatibility between  Embedded and 
> NetworkServer/NetworkClient.
> This issue tries to resolve it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to