public class NutDaoExecutor extends Object implements DaoExecutor
Modifier and Type | Field and Description |
---|---|
protected int |
defaultFetchSize |
protected int |
defaultQueryTimeout |
protected JdbcExpert |
expert |
protected DatabaseMeta |
meta |
Constructor and Description |
---|
NutDaoExecutor() |
Modifier and Type | Method and Description |
---|---|
protected void |
_runExec(Connection conn,
DaoStatement st) |
protected void |
afterCreateStatement(Statement stat,
DaoStatement st) |
void |
exec(Connection conn,
DaoStatement st) |
int |
getDefaultFetchSize() |
int |
getDefaultQueryTimeout() |
static void |
printSQL(DaoStatement sql) |
void |
setDefaultFetchSize(int defaultFetchSize) |
void |
setDefaultQueryTimeout(int defaultQueryTimeout) |
void |
setExpert(JdbcExpert expert) |
void |
setMeta(DatabaseMeta meta) |
protected int defaultQueryTimeout
protected int defaultFetchSize
protected DatabaseMeta meta
protected JdbcExpert expert
public void exec(Connection conn, DaoStatement st)
exec
in interface DaoExecutor
protected void _runExec(Connection conn, DaoStatement st) throws SQLException
SQLException
public void setMeta(DatabaseMeta meta)
public void setExpert(JdbcExpert expert)
public static void printSQL(DaoStatement sql)
protected void afterCreateStatement(Statement stat, DaoStatement st) throws SQLException
SQLException
public int getDefaultQueryTimeout()
public void setDefaultQueryTimeout(int defaultQueryTimeout)
public int getDefaultFetchSize()
public void setDefaultFetchSize(int defaultFetchSize)
Copyright © 2019. All rights reserved.