public class ResultSet extends Object
Constructor and Description |
---|
ResultSet(int insertId,
int rowsAffected,
ResultSetRows rows) |
Modifier and Type | Method and Description |
---|---|
int |
getLastInsertedRowId()
Gets the row ID of the inserted row if the statement inserted a row.
|
int |
getNumberOfRowsAffected()
Gets the number of rows that were changed by the SQL statement.
|
ResultSetRows |
rows()
Returns the rows returned by the statement executed in the order returned by the database.
|
String |
toString() |
public ResultSet(int insertId, int rowsAffected, ResultSetRows rows)
public int getLastInsertedRowId()
public int getNumberOfRowsAffected()
public ResultSetRows rows()
ResultSetRows
containing the database results as returned by the database.
Returns am empty ResultSetRows
if no results were returned (i.e.
ResultSetRowList.size() = 0)Copyright © 2013. All Rights Reserved.