public class Query extends Object
Constructor and Description |
---|
Query(String sql,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ResultSet |
execute() |
Connection |
getConnection() |
ResultSet |
getResults() |
PreparedStatement |
getStatement() |
boolean |
isEmpty() |
boolean |
isExecuted() |
void |
reset() |
public Query(String sql, Connection conn)
public void reset()
public boolean isEmpty()
public ResultSet execute() throws SQLException
SQLException
public boolean isExecuted()
public Connection getConnection()
public PreparedStatement getStatement() throws SQLException
SQLException
public ResultSet getResults()
public void close()