|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_ResultCb
Interface to receive the ResultSet for a SELECT execution.
Example usage:
this.dbPool.select("SELECT * FROM A", new I_ResultCb() { public void result(ResultSet rs) throws Exception { while (rs != null && rs.next()) { ... // Process the query results } } });
Method Summary | |
---|---|
void |
result(java.sql.Connection conn,
java.sql.ResultSet rs)
Callback with the ResultSet. |
Method Detail |
---|
void result(java.sql.Connection conn, java.sql.ResultSet rs) throws java.lang.Exception
rs
- The current ResultSet, is null if table or view does not exist
java.lang.Exception
- Can be of any type
|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |