Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2827

Rename ClobStreamControl to TemporaryClob

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4
    • JDBC
    • None

    Description

      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.

      Attachments

        1. derby-2827-1a.diff
          27 kB
          Kristian Waagan
        2. derby-2827-1a.stat
          0.4 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: