mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
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.
This commit is contained in:
@ -336,7 +336,13 @@ public abstract class AbstractJdbc3DatabaseMetaData extends org.postgresql.jdbc2
|
|||||||
*/
|
*/
|
||||||
public boolean locatorsUpdateCopy() throws SQLException
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user