public class DbQueryConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
concurrencyType |
protected int |
fetchSize |
protected boolean |
forcePreparedStatement |
protected int |
holdability |
protected int |
maxRows |
protected int |
type |
Constructor and Description |
---|
DbQueryConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getConcurrencyType() |
int |
getFetchSize() |
int |
getHoldability() |
int |
getMaxRows()
Returns default value for max rows.
|
int |
getType() |
boolean |
isForcePreparedStatement() |
void |
setConcurrencyType(int concurrencyType)
Sets default concurrency type.
|
void |
setFetchSize(int fetchSize)
Sets default value for fetch size.
|
void |
setForcePreparedStatement(boolean forcePreparedStatement)
Enables creation of prepared statements for all queries.
|
void |
setHoldability(int holdability)
Sets default holdability.
|
void |
setMaxRows(int maxRows)
Sets default value for max rows.
|
void |
setType(int type)
Sets default type.
|
protected boolean forcePreparedStatement
protected int type
protected int concurrencyType
protected int holdability
protected int fetchSize
protected int maxRows
public boolean isForcePreparedStatement()
public void setForcePreparedStatement(boolean forcePreparedStatement)
public int getType()
public void setType(int type)
DbQueryBase.setType(int)
public int getConcurrencyType()
public void setConcurrencyType(int concurrencyType)
DbQueryBase.setConcurrencyType(int)
public int getHoldability()
public void setHoldability(int holdability)
DbQueryBase.setHoldability(int)
public int getFetchSize()
public void setFetchSize(int fetchSize)
DbQueryBase.setFetchSize(int)
public int getMaxRows()
public void setMaxRows(int maxRows)
DbQueryBase.setMaxRows(int)
Copyright © 2003-present Jodd Team