Class Query
- java.lang.Object
-
- net.didion.jwnl.dictionary.database.Query
-
public class Query extends Object
-
-
Constructor Summary
Constructors Constructor Description Query(String sql, Connection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ResultSet
execute()
Connection
getConnection()
ResultSet
getResults()
PreparedStatement
getStatement()
boolean
isExecuted()
-
-
-
Constructor Detail
-
Query
public Query(String sql, Connection conn)
-
-
Method Detail
-
execute
public ResultSet execute() throws SQLException
- Throws:
SQLException
-
isExecuted
public boolean isExecuted()
-
getConnection
public Connection getConnection()
-
getStatement
public PreparedStatement getStatement() throws SQLException
- Throws:
SQLException
-
getResults
public ResultSet getResults()
-
close
public void close()
-
-