Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Is it possible to support also updating a resultset?  #13

@dportabella

Description

@dportabella

Is it possible to support also updating a resultset?

simular to this jdbc example from: http://www.tutorialspoint.com/jdbc/updating-result-sets.htm
+++++++++++++++++++++++++
Statement stmt = conn.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
String sql = "SELECT id, first, last, age FROM Employees";
ResultSet rs = stmt.executeQuery(sql);

  while(rs.next()){
     int newAge = rs.getInt("age") + 5;
     rs.updateDouble( "age", newAge );
     rs.updateRow();
  }

+++++++++++++++++++++++++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions