Skip to content

Commit 983fc97

Browse files
committed
The isWritable method in ResultSetMetaData returns the logically
incorrect result. This bug goes back to at least 6.3. Alvin
1 parent d13fe29 commit 983fc97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/jdbc/postgresql/ResultSetMetaData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ public boolean isReadOnly(int column) throws SQLException
378378
public boolean isWritable(int column) throws SQLException
379379
{
380380
if (isReadOnly(column))
381-
return true;
382-
else
383381
return false;
382+
else
383+
return true;
384384
}
385385

386386
/**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy