public class PsqlJdbcExpert extends AbstractJdbcExpert
conf, keywords
构造器和说明 |
---|
PsqlJdbcExpert(JdbcExpertConfigFile conf) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
createEntity(Dao dao,
Entity<?> en)
根据实体信息,返回某实体的建表语句
|
protected String |
createResultSetMetaSql(Entity<?> en) |
String |
evalFieldType(MappingField mf) |
void |
formatQuery(Pojo pojo) |
void |
formatQuery(Sql sql) |
ValueAdaptor |
getAdaptor(MappingField ef)
根据字段类型为其获取一个字段适配器
|
String |
getDatabaseType() |
String |
wrapKeywork(String columnName,
boolean force) |
addColumnNeedColumn, addComment, addComment, addDefaultValue, canCommentWhenAddIndex, checkDataSource, createAddColumnSql, createIndexs, createIndexSql, createPojo, createRelation, createRelation, dropEntity, dropRelation, fetchPojoId, formatQuery, getConf, getDefaultValue, getIndexNames, getKeywords, gSQL, isSupportAutoIncrement, isSupportGeneratedKeys, makePksName, setKeywords, setupEntityField, supportTimestampDefault, wrap, wrap
public PsqlJdbcExpert(JdbcExpertConfigFile conf)
public void formatQuery(Pojo pojo)
formatQuery
在类中 AbstractJdbcExpert
public void formatQuery(Sql sql)
formatQuery
在类中 AbstractJdbcExpert
public boolean createEntity(Dao dao, Entity<?> en)
JdbcExpert
en
- 实体public String evalFieldType(MappingField mf)
evalFieldType
在接口中 JdbcExpert
evalFieldType
在类中 AbstractJdbcExpert
public ValueAdaptor getAdaptor(MappingField ef)
JdbcExpert
getAdaptor
在接口中 JdbcExpert
getAdaptor
在类中 AbstractJdbcExpert
ef
- 实体数据库映射字段public String wrapKeywork(String columnName, boolean force)
wrapKeywork
在接口中 JdbcExpert
wrapKeywork
在类中 AbstractJdbcExpert
Copyright © 2017. All rights reserved.