You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Gordon Innes (JIRA)" <ji...@apache.org> on 2017/02/24 22:19:44 UTC

[jira] [Updated] (DERBY-6923) Passing a ClientClob or ClientBlob from another connection results in 'null' being written.

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

Gordon Innes updated DERBY-6923:
--------------------------------
    Description: 
When assigning a Blob or Clob from a ResultSet to a PreparedStatement parameter on a second connection, null is written to the column instead.

Attached the same example using Embedded->Embedded, Embedded->Network, Network->Embedded and Network->Network.

Only the Network->Network example exhibits the fault.

Originally discovered in HA-JDBC's sync code with 2 derby instances on Windows. Example were tested using MacOS. Both were running on Oracle Java 8 VMs.

  was:
When assigning a Blob or Clob from a ResultSet to a PreparedStatement parameter on a second connection, null is written to the column instead.

Attached the same example using Embedded->Embedded, Embedded->Network, Network->Embedded and Network->Network.

Only the Network->Network example exhibits the fault.


> Passing a ClientClob or ClientBlob from another connection results in 'null' being written.
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6923
>                 URL: https://issues.apache.org/jira/browse/DERBY-6923
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>    Affects Versions: 10.13.1.1
>         Environment: Java 8
> MacOS
> Windows
>            Reporter: Gordon Innes
>            Priority: Critical
>         Attachments: DerbyEmbeddedOnly.java, DerbyNetworkOnly.java, DerbyNetworkRead.java, DerbyNetworkWrite.java
>
>
> When assigning a Blob or Clob from a ResultSet to a PreparedStatement parameter on a second connection, null is written to the column instead.
> Attached the same example using Embedded->Embedded, Embedded->Network, Network->Embedded and Network->Network.
> Only the Network->Network example exhibits the fault.
> Originally discovered in HA-JDBC's sync code with 2 derby instances on Windows. Example were tested using MacOS. Both were running on Oracle Java 8 VMs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)