Issue Details (XML | Word | Printable)

Key: DERBY-3658
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Knut Anders Hatlen
Reporter: Knut Anders Hatlen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

LOBStateTracker should not use SYSIBM.CLOBRELEASELOCATOR when the database is soft-upgraded from 10.2

Created: 02/May/08 12:45 PM   Updated: 30/Jun/09 03:55 PM
Return to search
Component/s: JDBC, Network Client
Affects Version/s: 10.3.3.0, 10.4.1.3
Fix Version/s: 10.4.2.0, 10.5.1.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works d3658.diff 2008-05-02 01:07 PM Knut Anders Hatlen 1.0 kB

Bug behavior facts: Regression
Resolution Date: 02/May/08 10:16 PM


 Description  « Hide
Reported by Daniel Noll on derby-user: http://thread.gmane.org/gmane.comp.apache.db.derby.user/9107

To reproduce:

  1. Create a database with Derby 10.2.2.0
  2. Create a table with a clob column and insert some data
  3. Access that database with client+server at version 10.4.1.3 and iterate through the rows in the table

You'll see an error message like this:

ERROR 42Y03: 'SYSIBM.CLOBRELEASELOCATOR' is not recognized as a function or procedure.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #652865 Fri May 02 18:29:37 UTC 2008 kahatlen DERBY-3658: Made LOBStateTracker work with soft upgraded databases
that don't support locators.
Files Changed
MODIFY /db/derby/code/trunk/java/client/org/apache/derby/client/am/LOBStateTracker.java

Repository Revision Date User Message
ASF #652914 Fri May 02 21:12:21 UTC 2008 kahatlen DERBY-3658: Made LOBStateTracker work with soft upgraded databases
that don't support locators.

Merged fix from trunk, revision 652865.
Files Changed
MODIFY /db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/LOBStateTracker.java

Repository Revision Date User Message
ASF #652917 Fri May 02 21:15:46 UTC 2008 kahatlen DERBY-3658: Made LOBStateTracker work with soft upgraded databases
that don't support locators.

Merged fix from trunk, revision 652865.
Files Changed
MODIFY /db/derby/code/branches/10.3/java/client/org/apache/derby/client/am/LOBStateTracker.java

Repository Revision Date User Message
ASF #652929 Fri May 02 22:13:03 UTC 2008 kahatlen DERBY-3658: Clarified in some comments that the server may send LOB values instead of locators even if it supports locators.
Files Changed
MODIFY /db/derby/code/trunk/java/client/org/apache/derby/client/am/Connection.java
MODIFY /db/derby/code/trunk/java/client/org/apache/derby/client/am/Cursor.java

Repository Revision Date User Message
ASF #682401 Mon Aug 04 14:25:34 UTC 2008 rhillegas DERBY-3658: Port clarifying comment changes (652929) from trunk to 10.4 branch.
Files Changed
MODIFY /db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Connection.java
MODIFY /db/derby/code/branches/10.4/java/client/org/apache/derby/client/am/Cursor.java