Skip to content

[JDBC] StatementImpl Improvements #2532

@chernser

Description

@chernser

Description

There are method that require implementing additional check or logic to be closer to JDBC spec:

Methods should properly propagate values

  • setMaxFieldSize(int max)

  • setFetchDirection(int direction)

  • getFetchDirection()

  • setFetchSize(int rows)

  • getFetchSize()

  • getResultSetConcurrency()

  • getResultSetType()

  • getResultSetHoldability()

  • setPoolable(boolean poolable)

  • isPoolable()

Methods should do checks:

  • executeUpdate(String sql, int autoGeneratedKeys)
  • executeUpdate(String sql, int columnIndexes[])
  • executeUpdate(String sql, String columnNames[])
  • execute(String sql, int autoGeneratedKeys)
  • execute(String sql, int columnIndexes[])
  • execute(String sql, String columnNames[])

Methods should return actual value

  • isClosed()

Metadata

Metadata

Assignees

Labels

area:generalgeneral issue without a specific area.jdbc-v2jdbc-v2 issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions