? built ? unchanged-isolation.patch Index: org/postgresql/jdbc2/AbstractJdbc2BlobClob.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2BlobClob.java,v retrieving revision 1.3 diff -c -r1.3 AbstractJdbc2BlobClob.java *** org/postgresql/jdbc2/AbstractJdbc2BlobClob.java 9 May 2005 03:17:18 -0000 1.3 --- org/postgresql/jdbc2/AbstractJdbc2BlobClob.java 26 Nov 2006 11:34:17 -0000 *************** *** 54,59 **** --- 54,60 ---- public InputStream getBinaryStream() throws SQLException { + lo.seek(0); return lo.getInputStream(); } Index: org/postgresql/largeobject/BlobInputStream.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/largeobject/BlobInputStream.java,v retrieving revision 1.10 diff -c -r1.10 BlobInputStream.java *** org/postgresql/largeobject/BlobInputStream.java 11 Jan 2005 08:25:47 -0000 1.10 --- org/postgresql/largeobject/BlobInputStream.java 26 Nov 2006 11:34:19 -0000 *************** *** 110,124 **** */ public void close() throws IOException { ! try ! { ! lo.close(); ! lo = null; ! } ! catch (SQLException se) ! { ! throw new IOException(se.toString()); ! } } /** --- 110,116 ---- */ public void close() throws IOException { ! lo = null; } /** Index: org/postgresql/largeobject/BlobOutputStream.java =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/org/postgresql/largeobject/BlobOutputStream.java,v retrieving revision 1.11 diff -c -r1.11 BlobOutputStream.java *** org/postgresql/largeobject/BlobOutputStream.java 11 Jan 2005 08:25:47 -0000 1.11 --- org/postgresql/largeobject/BlobOutputStream.java 26 Nov 2006 11:34:19 -0000 *************** *** 133,148 **** */ public void close() throws IOException { ! try ! { ! flush(); ! lo.close(); ! lo = null; ! } ! catch (SQLException se) ! { ! throw new IOException(se.toString()); ! } } } --- 133,140 ---- */ public void close() throws IOException { ! flush(); ! lo = null; } }