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 |
isExecuted() |
public Query(String sql, Connection conn)
public ResultSet execute() throws SQLException
SQLException
public boolean isExecuted()
public Connection getConnection()
public PreparedStatement getStatement() throws SQLException
SQLException
public ResultSet getResults()
public void close()
Copyright © 2024. All rights reserved.