Skip to content

jdbc: Support resultSetType parameter in Connection methods #85

Closed
@Totktonada

Description

@Totktonada

The following functions should be implemented (should not raise SQLFeatureNotSupportedException when called with supported resultSetType value, referenced as type 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.supportsResultSetType(type) should return appropriate values for ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE and ResultSet.TYPE_SCROLL_SENSITIVE.

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

We also need to cover DatabaseMetaData.*AreDetected() and DatabaseMetaData.*areVisible() (all falses) with a test.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions