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
SQLExceptionpublic boolean isExecuted()
public Connection getConnection()
public PreparedStatement getStatement() throws SQLException
SQLExceptionpublic ResultSet getResults()
public void close()
Copyright © 2023. All rights reserved.