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

Øystein Grøvlen updated DERBY-2789:
-----------------------------------

    Attachment: derby10.2-2789.diff

Attached patch fixes this for 10.2.  The following files have been changed:

M      java/client/org/apache/derby/client/am/DatabaseMetaData.java
Change locatorsUpdateCopy to return true for client

M      
java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/dbMetaDataJdbc30.out
Change master file for client test to reflect the changes.

> DatabaseMetaData .locatorsUpdateCopy() should return true
> ---------------------------------------------------------
>
>                 Key: DERBY-2789
>                 URL: https://issues.apache.org/jira/browse/DERBY-2789
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.2.2.0
>         Environment: Any
>            Reporter: Øystein Grøvlen
>            Assignee: Øystein Grøvlen
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2789.diff, derby-2789.stat, derby10.2-2789.diff
>
>
> Since updates made to a BLOB or CLOB value in Derby is made on a copy, 
> DatabaseMetaData .locatorsUpdateCopy() call should return true.  For the 
> embedded driver the functionality to update a LOB value is new in 10.3. For 
> the client driver, updates have been possible in prior releases, and 
> locatorsUpdateCopy() has returned false.  That behavior was wrong since the 
> client updated a main-memory copy, not the values in the database.  For 10.3, 
> the client will use a locator based implementation which will rely on the 
> behavior of the embedded driver.  Hence, locatorsUpdateCopy() should return 
> true in both cases.

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

Reply via email to