db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen (JIRA) <j...@apache.org>
Subject [jira] Commented: (DERBY-2923) Incorrect reading of nullable Blob/Clob columns during soft upgrade with client/server
Date Wed, 11 Jul 2007 17:46:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511808

Øystein Grøvlen commented on DERBY-2923:

I have not been able to figure out how to run client/server tests in the upgrade test.
I tried using the clientServerDecorator, but then it was reported that another Derby instance
had already booted the database.
I also tried using the defaultServerDecorator and use the derby.drda.startNetworkServer property
to start a server, but then I was not able to get a connection even if the server seemed to
have started.

> Incorrect reading of nullable Blob/Clob columns during soft upgrade with client/server
> --------------------------------------------------------------------------------------
>                 Key: DERBY-2923
>                 URL: https://issues.apache.org/jira/browse/DERBY-2923
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions:,,
>         Environment: Client/server soft upgrade
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>            Priority: Blocker
>             Fix For:
>         Attachments: SimpleBlobTest.java
> Select operations with client/server and soft upgrade mode will not see first byte of
the Blob/Clob if the LOB column is nullable.
> The reason seems to be that during soft upgrade, the network server does not prepend
the LOB data with the byte indicating whether the column is null or not.  Hence, the first
data byte will be interpreted by the client as the null byte, and the reading of the LOB will
start at the second byte.

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

View raw message