public class Db2JdbcExpert extends AbstractJdbcExpert
conf, keywords
构造器和说明 |
---|
Db2JdbcExpert(JdbcExpertConfigFile conf) |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 JdbcExpert
evalFieldType
在类中 AbstractJdbcExpert
public void formatQuery(Pojo pojo)
formatQuery
在类中 AbstractJdbcExpert
public void formatQuery(Sql sql)
formatQuery
在类中 AbstractJdbcExpert
public ValueAdaptor getAdaptor(MappingField ef)
JdbcExpert
getAdaptor
在接口中 JdbcExpert
getAdaptor
在类中 AbstractJdbcExpert
ef
- 实体数据库映射字段Copyright © 2017. All rights reserved.