db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1610) Resolve difference of type compatibility between Embedded and NetworkServer/NetworkDriver
Date Fri, 29 Sep 2006 07:31:51 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1610?page=comments#action_12438657 ] 
            
Knut Anders Hatlen commented on DERBY-1610:
-------------------------------------------

Hi Tomohito,

I tried to test all type combinations on setNull(). Seems like most of the combinations are
treated the same way by the client driver and the embedded driver. Great! The only differences
I found were:

1. setNull(LONGVARCHAR) on parameter of type CHAR FOR BIT DATA (Types.BINARY): Client succeeds,
embedded fails (state 22005).
2. setNull(LONGVARBINARY) on parameter of type CHAR FOR BIT DATA (Types.BINARY): Embedded
succeeds, client fails (state 22005).
3. setNull(LONGVARBINARY) on parameter of type VARCHAR FOR BIT DATA (Types.VARBINARY): Embedded
succeeds, client fails (state 22005).
4. setNull(BINARY) on parameter of type LONG VARCHAR FOR BIT DATA (Types.LONGVARBINARY): Embedded
succeeds, client fails (state 22005).
5. setNull(TIME) on parameter of TIMESTAMP: Client succeeds, embedded fails (state 22005).

I believe the embedded driver behaves correctly in these cases, and that the client driver
should behave the same way. Do you think so too?

> 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, DERBY-1610_6.patch, parameterMapping.diff, parameterMapping.diff, parameterMapping.diff.betweenEmbedded_and_NetworkServerNetworkClient,
parameterMapping.out.diff, 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

        

Mime
View raw message