net.sf.extjwnl.dictionary.database
Class Query
java.lang.Object
net.sf.extjwnl.dictionary.database.Query
public class Query
- extends Object
Helper class to manage queries.
- Author:
- John Didion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query(String sql,
Connection conn)
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()
Copyright © 2011. All Rights Reserved.