Allot of fixes
This commit is contained in:
parent
694e3081bb
commit
952a388cf1
22 changed files with 1197 additions and 408 deletions
15
src/zutil/db/SQLResultHandler.java
Normal file
15
src/zutil/db/SQLResultHandler.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package zutil.db;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.sql.ResultSet;
|
||||
|
||||
public interface SQLResultHandler<T> {
|
||||
/**
|
||||
* Is called to handle an result from an query.
|
||||
*
|
||||
* @param stmt is the query
|
||||
* @param result is the ResultSet
|
||||
*/
|
||||
public T handle(Statement stmt, ResultSet result) throws SQLException;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue