Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita50d08f

Browse files
author
Barry Lind
committed
Return something meaningful for Statement.getFetchSize(). Previously we were
returning an exception when this method was called.Modified Files:jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
1 parentfaf2853 commita50d08f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
importorg.postgresql.largeobject.*;
99
importorg.postgresql.util.PSQLException;
1010

11-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.7 2002/09/11 05:38:45 barry Exp $
11+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.8 2002/10/30 04:33:29 barry Exp $
1212
* This class defines methods of the jdbc2 specification. This class extends
1313
* org.postgresql.jdbc1.AbstractJdbc1Statement which provides the jdbc1
1414
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Statement
@@ -115,8 +115,7 @@ public int getFetchDirection() throws SQLException
115115

116116
publicintgetFetchSize()throwsSQLException
117117
{
118-
// This one can only return a valid value when were a cursor?
119-
throworg.postgresql.Driver.notImplemented();
118+
return0;
120119
}
121120

122121
publicintgetResultSetConcurrency()throwsSQLException

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp