db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2827) Rename ClobStreamControl to TemporaryClob
Date Fri, 15 Jun 2007 12:18:27 GMT
Rename ClobStreamControl to TemporaryClob

                 Key: DERBY-2827
                 URL: https://issues.apache.org/jira/browse/DERBY-2827
             Project: Derby
          Issue Type: Improvement
          Components: JDBC
    Affects Versions:
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan
            Priority: Trivial
             Fix For:

Since the original submission, the situation has changed quite a lot and the original name
no longer fits as well as it did before.

The class is changed to TemporaryClob, signalling that the Clob object is living temporarily
outside the database. This is true for all scenarios, except for small Clobs that are stored
as non-stream objects in the database. 
The general contract is that as soon as a change is made to the Clob, it becomes a temporary
Clob. Unless the user reinserts the Clob (i.e. updateRow, updateClob + execute), the changes
will be lost. This is also true for Clobs created with Connection.createClob. If it is not
explicitly inserted into the database, it is lost.

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

View raw message