]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Don't throw an Exception in locatorsUpdateCopy() even though the
authorKris Jurka <books@ejurka.com>
Wed, 16 Jun 2004 18:28:45 +0000 (18:28 +0000)
committerKris Jurka <books@ejurka.com>
Wed, 16 Jun 2004 18:28:45 +0000 (18:28 +0000)
ability to update LOBs is unimplemented.  The 1.5 JDK's CachedRowSet
implementation calls this method regardless of whether large objects
are used or not.

src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java

index 7ebdf38271d7e77410c09b5074a85cb835e89c2d..7e72b25e7f0ed13fa23d6f3740fffa3b3315f5e3 100644 (file)
@@ -336,7 +336,13 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
         */
        public boolean locatorsUpdateCopy() throws SQLException
        {
-               throw org.postgresql.Driver.notImplemented();
+               /*
+                * Currently LOB's aren't updateable at all, so it doesn't
+                * matter what we return.  We don't throw the notImplemented
+                * Exception because the 1.5 JDK's CachedRowSet calls this
+                * method regardless of wether large objects are used.
+                */
+               return true;
        }
 
        /**