public class JdbcBaseClass extends java.lang.Object implements DbType
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoincrement |
protected int |
dbType |
protected static boolean |
DEBUG |
protected javax.sql.DataSource |
ds |
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
JdbcBaseClass() |
Modifier and Type | Method and Description |
---|---|
void |
setAutoincrement(boolean autoincrement) |
void |
setDataSource(javax.sql.DataSource ds)
Set the Jdbc Datasource
|
void |
setDbType(int dbType)
Set the database type of grammer
|
protected static final boolean DEBUG
protected final org.apache.commons.logging.Log logger
protected javax.sql.DataSource ds
protected int dbType
protected boolean autoincrement
public void setDataSource(javax.sql.DataSource ds)
public void setDbType(int dbType)
DbType
public void setAutoincrement(boolean autoincrement)
autoincrement
- The autoincrement to set.