db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: JDBC Metadata cursor
Date Wed, 14 Apr 2010 11:16:27 GMT
On 04/14/10 12:16 PM, Ян Программист wrote:
> Following code gives an exception; a can't figure out how to get
> scrollable cursor for metadata:

Hi John,

I'm afraid that's not possible. The JDBC 4.0 specification says (in
section 7.5, SQL Objects and Their Attributes):

"The ResultSet objects that are returned from a DatabaseMetaData method have
a sensitivity of TYPE_FORWARD_ONLY and a concurrency of CONCUR_READ_ONLY."

Knut Anders

View raw message