|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.holub.database.jdbc.adapters.StatementAdapter
com.holub.database.jdbc.JDBCStatement
public class JDBCStatement
This code may be used freely by yourself with the following restrictions:
|
Field Summary |
---|
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Constructor Summary | |
---|---|
JDBCStatement(Database database)
|
Method Summary | |
---|---|
void |
close()
|
ResultSet |
executeQuery(String sqlQuery)
|
int |
executeUpdate(String sqlString)
|
Methods inherited from class com.holub.database.jdbc.adapters.StatementAdapter |
---|
addBatch, cancel, checkClosed, clearBatch, clearWarnings, execute, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCStatement(Database database)
Method Detail |
---|
public int executeUpdate(String sqlString) throws SQLException
executeUpdate
in interface Statement
executeUpdate
in class StatementAdapter
SQLException
public ResultSet executeQuery(String sqlQuery) throws SQLException
executeQuery
in interface Statement
executeQuery
in class StatementAdapter
SQLException
public void close() throws SQLException
close
in interface Statement
close
in class StatementAdapter
SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |