ResultSetMetaData.isReadOnly() also returns wrong results
---------------------------------------------------------
Key: DERBY-144
URL: http://issues.apache.org/jira/browse/DERBY-144
Project: Derby
Type: Sub-task
Components: JDBC
Versions: 10.0.2.1
Environment: IBM DB2 universal driver accessing a standalone Derby server
Reporter: Thomas Fischer
JDBC states that "isReadOnly(int column) Indicates whether the designated
column is definitely not writable."
Note that it does NOT say that the resultset is not writable.
So isReadOnly() should return false if it is applied to a ResultSet which was
obtained by querying a table, which it doesn't. It always returns true.
I will attach a testcase for the described behaviour.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira