Skip to content

jdbc: Support resultSetType parameter in Connection methods #85

Closed

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.

Activity

  1. added this to the JDBC MVP milestone on Nov 2, 2018
  2. added 3 commits that reference this issue on Apr 5, 2019
    30427b3
    bf8eb95
    3f3596a
  3. added 3 commits that reference this issue on Apr 16, 2019
    6dd6908
    62ee0ee
    122be31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions