|
I interpret ResultSetMetaData to describe the ResultSet, not the base
column of the table. If someone is interested in knowing whether a
column of a table is readonly/definetely not writable, wouldn't they be
using DatabaseMetaData or some other API to check that? I would expect
ResultSetMetaData to describe the ResultSet itself, like
Connection.isReadOnly() would indicate if a connection is readonly not
if the database itself is readonly. I agree this could be cleared in the spec. I looked at ODBC spec at Microsoft site. While there is no 1-1 matching between JDBC and ODBC, the following does this seem to favor my argument. Should we have a show of hands if this ODBC spec agrees with my argument or not? :-) http://msdn.microsoft.com/library/default.asp?url="">
Satheesh Daniel John Debrunner wrote: Though of course, the spec could be cleared up, writable in what sense? Through a positioned update/dml, through updateable result set, through any DML statement? I think this method has been there since JDBC 1.1 so that means it cannot mean just with respect to updateable result sets since they were added in JDBC 2.0. Which probably means is the column definitely not writable by any operation.Dan. |
- Re: [Fwd: Re: How to run the Apache DB Torque tutori... Satheesh Bandaram
- Re: [Fwd: Re: How to run the Apache DB Torque t... Francois Orsini
- Re: [Fwd: Re: How to run the Apache DB Torq... Jean T. Anderson
- Re: [Fwd: Re: How to run the Apache DB Torque t... Daniel John Debrunner
- Re: [Fwd: Re: How to run the Apache DB Torq... Francois Orsini
