Return something meaningful for Statement.getFetchSize(). Previously we were
authorBarry Lind <[email protected]>
Wed, 30 Oct 2002 04:33:29 +0000 (04:33 +0000)
committerBarry Lind <[email protected]>
Wed, 30 Oct 2002 04:33:29 +0000 (04:33 +0000)
returning an exception when this method was called.

Modified Files:
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java

src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java

index 49791f8a9a4db34a5b96a6cae3f8855ad0093200..48159501abae54c827ae522cea20c274e066513d 100644 (file)
@@ -115,8 +115,7 @@ public abstract class AbstractJdbc2Statement extends org.postgresql.jdbc1.Abstra
 
        public int getFetchSize() throws SQLException
        {
-               // This one can only return a valid value when were a cursor?
-               throw org.postgresql.Driver.notImplemented();
+               return 0;
        }
 
        public int getResultSetConcurrency() throws SQLException