aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKris Jurka <books@ejurka.com>2004-06-16 18:28:45 +0000
committerKris Jurka <books@ejurka.com>2004-06-16 18:28:45 +0000
commitd9a44efc25b5f4bdee965e2d53d903ecaeb6a81b (patch)
tree30b58b22623e7154f8088bfdf1b5b955aa2ffe4b /src
parent94fdcc052a921b1e86527366fd176e4756337ee8 (diff)
downloadpostgresql-d9a44efc25b5f4bdee965e2d53d903ecaeb6a81b.tar.gz
postgresql-d9a44efc25b5f4bdee965e2d53d903ecaeb6a81b.zip
Don't throw an Exception in locatorsUpdateCopy() even though the
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.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java b/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
index 7ebdf38271d..7e72b25e7f0 100644
--- a/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
+++ b/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
@@ -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;
}
/**