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

Commit6a5168a

Browse files
author
Dave Cramer
committed
Changed to reflect the current reality, ie we do support updateable resultsets
1 parentdd1dcf2 commit6a5168a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQ
4949
if (type ==java.sql.ResultSet.TYPE_SCROLL_SENSITIVE)
5050
returnfalse;
5151

52-
// Wedon't yet support Updateable ResultSets
52+
// Wedo support Updateable ResultSets
5353
if (concurrency ==java.sql.ResultSet.CONCUR_UPDATABLE)
54-
returnfalse;
54+
returntrue;
5555

5656
// Everything else we do
5757
returntrue;
@@ -61,17 +61,18 @@ public boolean supportsResultSetConcurrency(int type, int concurrency) throws SQ
6161
/* lots of unsupported stuff... */
6262
publicbooleanownUpdatesAreVisible(inttype)throwsSQLException
6363
{
64-
returnfalse;
64+
returntrue;
6565
}
6666

6767
publicbooleanownDeletesAreVisible(inttype)throwsSQLException
6868
{
69-
returnfalse;
69+
returntrue;
7070
}
7171

7272
publicbooleanownInsertsAreVisible(inttype)throwsSQLException
7373
{
74-
returnfalse;
74+
// indicates that
75+
returntrue;
7576
}
7677

7778
publicbooleanothersUpdatesAreVisible(inttype)throwsSQLException

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp