| 限定符和类型 | 方法和说明 |
|---|---|
protected Field |
AbstractSQLBuilder.getFieldFromInstance(Object instance,
Property property)
从实例从获取参数
|
protected void |
AbstractSQLBuilder.setParameter(Object instance,
Property property,
PreparedStatement ps,
int parameterIndex,
StringBuilder sqlBuilder)
DML操作设置参数
|
protected String |
AbstractSQLBuilder.setPrepareStatementParameter(Object parameter,
Property property,
PreparedStatement ps,
int parameterIndex)
设置参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DDLBuilder.alterColumn(Property property)
修改列
|
void |
AbstractDDLBuilder.alterColumn(Property property) |
void |
DDLBuilder.createForeignKey(Property property)
建立外键约束
|
void |
AbstractDDLBuilder.createForeignKey(Property property) |
void |
DDLBuilder.createProperty(Property property)
创建新表
|
void |
AbstractDDLBuilder.createProperty(Property property) |
void |
SQLiteDDLBuilder.dropColumn(Property property) |
void |
DDLBuilder.dropColumn(Property property)
删除列
|
void |
AbstractDDLBuilder.dropColumn(Property property) |
protected String |
SQLServerDDLBuilder.getAutoIncrementSQL(Property property) |
protected String |
SQLiteDDLBuilder.getAutoIncrementSQL(Property property) |
protected String |
PostgreDDLBuilder.getAutoIncrementSQL(Property property) |
protected String |
MySQLDDLBuilder.getAutoIncrementSQL(Property property) |
protected abstract String |
AbstractDDLBuilder.getAutoIncrementSQL(Property property)
获取自增语句
|
| 限定符和类型 | 方法和说明 |
|---|---|
Property |
DAOOperation.getProperty(String tableName,
String column)
获取表字段
|
Property |
AbstractDAOOperation.getProperty(String tableName,
String column) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Property> |
DAOOperation.getPropertyList(String tableName)
获取表字段列表
|
List<Property> |
AbstractDAOOperation.getPropertyList(String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
Property |
DDLDAO.dropColumn(String tableName,
String column)
删除列
|
Property |
AbstractDDLDAO.dropColumn(String tableName,
String column) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DDLDAO.createColumn(String tableName,
Property property)
新增列
|
void |
AbstractDDLDAO.createColumn(String tableName,
Property property) |
| 限定符和类型 | 字段和说明 |
|---|---|
Property |
Entity.id
Id属性
|
| 限定符和类型 | 字段和说明 |
|---|---|
List<Property> |
Entity.foreignKeyProperties
外键约束字段
|
List<Property> |
Entity.properties
属性字段(排除ignore字段和实体包内字段)
|
List<Property> |
Entity.uniqueProperties
判断记录是否唯一的字段列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
Property |
Property.clone() |
Property |
Entity.getPropertyByFieldName(String field)
根据字段名返回对应属性
|
| 限定符和类型 | 方法和说明 |
|---|---|
Class |
ColumnTypeMapping.columnMappingType(Property property)
列类型转换
|
void |
Property.copyTransientField(Property target)
复制拷贝transient字段
|
| 构造器和说明 |
|---|
DefaultTablePropertyDefiner(Property property,
TableDefiner tableDefiner) |
Copyright © 2021. All rights reserved.