Skip to content

jdbc: Support resultSetConcurrency parameter in Connection methods #86

Closed
@Totktonada

Description

@Totktonada

The following functions should be implemented (should not raise SQLFeatureNotSupportedException when called with supported resultSetConcurrency value, referenced as concurrency below):

  • createStatement(type, concurrency)
  • createStatement(type, concurrency, holdability)
  • prepareCall(sql, type, concurrency)
  • prepareCall(sql, type, concurrency, holdability)
  • prepareStatement(sql, type, concurrency)
  • prepareStatement(sql, type, concurrency, holdability)

The DatabaseMetadata.supportsResultSetConcurrency(type, holdability) should return appropriate values for both ResultSet.CONCUR_READ_ONLY and ResultSet.CONCUR_UPDATABLE in combination with passed resultSetType (see #85).

The issue is about proper APIs support, so it seems that in the scope of this issue ResultSet.CONCUR_READ_ONLY support is enough.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions