net.didion.jwnl.dictionary.database
Class Query
java.lang.Object
net.didion.jwnl.dictionary.database.Query
public class Query
- extends java.lang.Object
Constructor Summary |
Query(java.lang.String sql,
java.sql.Connection conn)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query(java.lang.String sql,
java.sql.Connection conn)
execute
public java.sql.ResultSet execute()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
isExecuted
public boolean isExecuted()
getConnection
public java.sql.Connection getConnection()
getStatement
public java.sql.PreparedStatement getStatement()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getResults
public java.sql.ResultSet getResults()
close
public void close()