public interface DatabaseResultEvent
Modifier and Type | Method and Description |
---|---|
String |
getDataSourceNameUsed()
Which of the configured DataSource names was used for the query.
|
QueryInfo |
getQueryInfo()
Return a reference to the
QueryInfo object that was used for the request that generated this result. |
boolean |
getResult()
Return the value returned if this result is for an execute.
|
ResultSet |
getResultSet()
Return the JDBC ResultSet.
|
Statement |
getStatement()
Return the Statement
|
int |
getUpdateResult()
Return the value returned if this result is for an update.
|
String getDataSourceNameUsed()
QueryInfo getQueryInfo()
QueryInfo
object that was used for the request that generated this result.ResultSet getResultSet() throws IllegalArgumentException
IllegalArgumentException
- if this result was not for a queryStatement getStatement() throws IllegalArgumentException
IllegalArgumentException
int getUpdateResult() throws IllegalArgumentException
IllegalArgumentException
- if this result was not for an updateboolean getResult() throws IllegalArgumentException
IllegalArgumentException
- if this result was not for an update