public class OCSQLDbQueryManager extends java.lang.Object implements IDatabaseManager
Constructor and Description |
---|
OCSQLDbQueryManager() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<java.lang.Object>> |
executeReadQuery(java.sql.PreparedStatement ps)
helper method for allowing pre-generated Prepared Statements to be run
|
java.util.List<java.util.List<java.lang.Object>> |
executeReadQuery(java.lang.String query) |
protected java.util.List<java.util.List<java.lang.Object>> |
processResults(java.sql.ResultSet results) |
void |
setDatabasePool(org.apache.commons.dbcp.BasicDataSource dataSource) |
public void setDatabasePool(org.apache.commons.dbcp.BasicDataSource dataSource)
public java.util.List<java.util.List<java.lang.Object>> executeReadQuery(java.lang.String query) throws java.sql.SQLException
executeReadQuery
in interface IDatabaseManager
java.sql.SQLException
protected java.util.List<java.util.List<java.lang.Object>> processResults(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.util.List<java.lang.Object>> executeReadQuery(java.sql.PreparedStatement ps) throws java.sql.SQLException
executeReadQuery
in interface IDatabaseManager
ps
- java.sql.SQLException