Index: java/client/org/apache/derby/client/am/BlobLocatorInputStream.java
===================================================================
--- java/client/org/apache/derby/client/am/BlobLocatorInputStream.java	(revision 646258)
+++ java/client/org/apache/derby/client/am/BlobLocatorInputStream.java	(working copy)
@@ -21,12 +21,8 @@
 
 package org.apache.derby.client.am;
 
-import java.sql.SQLException;
-
 import java.io.IOException;
 
-import org.apache.derby.shared.common.error.ExceptionUtil;
-import org.apache.derby.shared.common.reference.SQLState;
 import org.apache.derby.shared.common.sanity.SanityManager;
 
 /**
@@ -189,38 +185,6 @@
     }
 
     /**
-     * Closes this input stream and releases any system resources associated
-     * with the stream.  This will release the underlying Blob value. 
-     *  
-     * @throws java.io.IOException
-     */
-    public void close() throws IOException {
-        try {
-            if (blob != null  && freeBlobOnClose) {
-                blob.free();
-            }
-        } catch (SQLException ex) {
-            if (ex.getSQLState().compareTo
-                    (ExceptionUtil.getSQLStateFromIdentifier
-                            (SQLState.LOB_OBJECT_INVALID)) == 0) {
-                // Blob has already been freed, probably because of autocommit
-                return;  // Ignore error
-            }
-
-            IOException ioEx = new IOException();
-            ioEx.initCause(ex);
-            throw ioEx;
-        }
-    }
-
-    /**
-     * Tell stream to free the underlying Blob when it is closed.
-     */
-    public void setFreeBlobOnClose() {
-        freeBlobOnClose = true;
-    }
-    
-    /**
      * Connection used to read Blob from server.
      */
     private final Connection connection;
@@ -241,11 +205,4 @@
      * maxPos starts counting from 1.
      */
     private final long maxPos;
- 
-    /**
-     * If true, the underlying Blob will be freed when the underlying stream is
-     * closed.  Used to implement correct behavior for streams obtained from
-     * result sets.
-     */
-    private boolean freeBlobOnClose = false;
 }
Index: java/client/org/apache/derby/client/am/ClobLocatorInputStream.java
===================================================================
--- java/client/org/apache/derby/client/am/ClobLocatorInputStream.java	(revision 646258)
+++ java/client/org/apache/derby/client/am/ClobLocatorInputStream.java	(working copy)
@@ -64,13 +64,6 @@
     private long currentPos;
     
     /**
-     * If true, the underlying Blob will be freed when the underlying stream is
-     * closed.  Used to implement correct behavior for streams obtained from
-     * result sets.
-     */
-    private boolean freeClobOnClose = false;
-
-    /**
      * Create an <code>InputStream</code> for reading the
      * <code>Clob</code> value represented by the given locator based
      * <code>Clob</code> object.
@@ -168,39 +161,6 @@
     }
 
     /**
-     * Closes this input stream and releases any system resources associated
-     * with the stream.  This will release the underlying Clob value. 
-     *  
-     * @throws java.io.IOException
-     */
-    public void close() throws IOException {
-        try {
-            if (clob != null  && freeClobOnClose) {
-                clob.free();
-            }
-        } catch (SQLException ex) {
-            if (ex.getSQLState().compareTo
-                    (ExceptionUtil.getSQLStateFromIdentifier
-                            (SQLState.LOB_OBJECT_INVALID)) == 0) {
-                // Clob has already been freed, probably because of autocommit
-                return;  // Ignore error
-            }
-
-            IOException ioEx = new IOException();
-            ioEx.initCause(ex);
-            throw ioEx;
-        }
-    }
-      
-    /**
-     * Tell stream to free the underlying Clob when it is closed.
-     */
-    public void setFreeClobOnClose() {
-        freeClobOnClose = true;
-    }
-    
-
-    /**
      * Returns a <code>Byte</code> array from the
      * <code>String</code> passed as Input.
      *
Index: java/client/org/apache/derby/client/am/ClobLocatorReader.java
===================================================================
--- java/client/org/apache/derby/client/am/ClobLocatorReader.java	(revision 646258)
+++ java/client/org/apache/derby/client/am/ClobLocatorReader.java	(working copy)
@@ -70,13 +70,6 @@
     private boolean isClosed = false;
     
     /**
-     * If true, the underlying Blob will be freed when the underlying stream is
-     * closed.  Used to implement correct behavior for streams obtained from
-     * result sets.
-     */
-    private boolean freeClobOnClose = false;
-
-    /**
      * Create an <code>Reader</code> for reading the
      * <code>Clob</code> value represented by the given locator based
      * <code>Clob</code> object.
@@ -175,33 +168,9 @@
             return;
         }
         isClosed = true;
-        
-        try {
-            if (clob != null && freeClobOnClose) {
-                clob.free();
-            }
-        } catch (SQLException ex) {
-            if (ex.getSQLState().compareTo
-                    (ExceptionUtil.getSQLStateFromIdentifier
-                            (SQLState.LOB_OBJECT_INVALID)) == 0) {
-                // Clob has already been freed, probably because of autocommit
-                return;  // Ignore error
-            }
-
-            IOException ioEx = new IOException();
-            ioEx.initCause(ex);
-            throw ioEx;
-        }
     }
 
     /**
-     * Tell stream to free the underlying Clob when it is closed.
-     */
-    public void setFreeClobOnClose() {
-        freeClobOnClose = true;
-    }
-
-    /**
      * Check to see if this <code>Reader</code> is closed. If it
      * is closed throw an <code>IOException</code> that states that
      * the stream is closed.
