Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6a5168a7
Commit
6a5168a7
authored
Sep 01, 2002
by
Dave Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to reflect the current reality, ie we do support updateable resultsets
parent
dd1dcf23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
...c/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
+6
-5
No files found.
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
View file @
6a5168a7
...
...
@@ -49,9 +49,9 @@ public abstract class AbstractJdbc2DatabaseMetaData extends org.postgresql.jdbc1
if
(
type
==
java
.
sql
.
ResultSet
.
TYPE_SCROLL_SENSITIVE
)
return
false
;
// We do
n't yet
support Updateable ResultSets
// We do support Updateable ResultSets
if
(
concurrency
==
java
.
sql
.
ResultSet
.
CONCUR_UPDATABLE
)
return
fals
e
;
return
tru
e
;
// Everything else we do
return
true
;
...
...
@@ -61,17 +61,18 @@ public abstract class AbstractJdbc2DatabaseMetaData extends org.postgresql.jdbc1
/* lots of unsupported stuff... */
public
boolean
ownUpdatesAreVisible
(
int
type
)
throws
SQLException
{
return
fals
e
;
return
tru
e
;
}
public
boolean
ownDeletesAreVisible
(
int
type
)
throws
SQLException
{
return
fals
e
;
return
tru
e
;
}
public
boolean
ownInsertsAreVisible
(
int
type
)
throws
SQLException
{
return
false
;
// indicates that
return
true
;
}
public
boolean
othersUpdatesAreVisible
(
int
type
)
throws
SQLException
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment