public class Db2JdbcExpert extends AbstractJdbcExpert
conf, keywords
Constructor and Description |
---|
Db2JdbcExpert(JdbcExpertConfigFile conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
createEntity(Dao dao,
Entity<?> en)
根据实体信息,返回某实体的建表语句
|
String |
evalFieldType(MappingField mf) |
void |
formatQuery(Pojo pojo) |
void |
formatQuery(Sql sql) |
ValueAdaptor |
getAdaptor(MappingField ef)
根据字段类型为其获取一个字段适配器
|
String |
getDatabaseType() |
addColumnNeedColumn, addComment, addComment, addDefaultValue, canCommentWhenAddIndex, checkDataSource, createAddColumnSql, createIndexs, createIndexSql, createPojo, createRelation, createRelation, createResultSetMetaSql, dropEntity, dropRelation, fetchPojoId, formatQuery, getConf, getDefaultValue, getIndexNames, getKeywords, gSQL, isSupportAutoIncrement, isSupportGeneratedKeys, makePksName, setKeywords, setupEntityField, supportTimestampDefault, wrap, wrap, wrapKeywork
public Db2JdbcExpert(JdbcExpertConfigFile conf)
public boolean createEntity(Dao dao, Entity<?> en)
JdbcExpert
en
- 实体public String evalFieldType(MappingField mf)
evalFieldType
in interface JdbcExpert
evalFieldType
in class AbstractJdbcExpert
public void formatQuery(Pojo pojo)
formatQuery
in class AbstractJdbcExpert
public void formatQuery(Sql sql)
formatQuery
in class AbstractJdbcExpert
public ValueAdaptor getAdaptor(MappingField ef)
JdbcExpert
getAdaptor
in interface JdbcExpert
getAdaptor
in class AbstractJdbcExpert
ef
- 实体数据库映射字段Copyright © 2017. All rights reserved.