Skip to content

jdbc: Support resultSetHoldability parameter in Connection methods #87

Description

@Totktonada

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

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

Also the following methods should be supported:

  • getHoldability()
  • setHoldability(holdability)

The DatabaseMetaData.supportsResultSetHoldability(holdability) should return appropriate values for both ResultSet.HOLD_CURSORS_OVER_COMMIT and ResultSet.CLOSE_CURSORS_AT_COMMIT. The DatabaseMetaData.getResultSetHoldability() should return a default holdability: one of two values above.

The issue is about proper APIs support, so it seems that one of the holdability values support is enough. It depends of Tarantool/SQL cursors implementation or, maybe, cursors emulation support of the driver.

Activity

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