Q
- public class QueryExecutor<Q extends net.idea.modbcum.i.IQueryObject> extends StatementExecutor<Q,ResultSet>
IQueryObject
Modifier and Type | Field and Description |
---|---|
protected String |
LIMIT |
protected String |
paged_limit |
protected int |
resultType |
protected int |
resultTypeConcurency |
protected PreparedStatement |
sresults |
protected Statement |
statement |
cache, useCache
Constructor and Description |
---|
QueryExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
closeResults(ResultSet rs) |
protected ResultSet |
execute(Connection c,
Q target) |
int |
getResultType() |
int |
getResultTypeConcurency() |
String |
getSQL(Q target) |
void |
open() |
ResultSet |
process(Q target) |
void |
setResultType(int resultType) |
void |
setResultTypeConcurency(int resultTypeConcurency) |
addStatementToCache, close, getCachedStatement, isUseCache, setConnection, setParameters, setUseCache
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected PreparedStatement sresults
protected Statement statement
protected String paged_limit
protected String LIMIT
protected int resultType
protected int resultTypeConcurency
public int getResultType()
public void setResultType(int resultType)
public int getResultTypeConcurency()
public void setResultTypeConcurency(int resultTypeConcurency)
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
protected ResultSet execute(Connection c, Q target) throws SQLException, net.idea.modbcum.i.exceptions.AmbitException
execute
in class StatementExecutor<Q extends net.idea.modbcum.i.IQueryObject,ResultSet>
SQLException
net.idea.modbcum.i.exceptions.AmbitException
public String getSQL(Q target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void closeResults(ResultSet rs) throws SQLException
closeResults
in class StatementExecutor<Q extends net.idea.modbcum.i.IQueryObject,ResultSet>
SQLException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.