| 程序包 | 说明 |
|---|---|
| org.mirrentools.sd | |
| org.mirrentools.sd.impl.dbutil | |
| org.mirrentools.sd.models.db.query |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract SdTablePrimaryKeyAttribute |
ScrewDriverDbUtil.getTablePrimaryKeyAttribute(String tableName)
获取指定表的主键属性,如果不存在返回null
|
| 限定符和类型 | 方法和说明 |
|---|---|
SdTablePrimaryKeyAttribute |
SdAbstractDbUtil.getTablePrimaryKeyAttribute(String tableName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SdAbstractDbUtil.converterPrimaryKeyAttribute(ResultSet rs,
SdTablePrimaryKeyAttribute result)
转换主键属性
|
| 限定符和类型 | 方法和说明 |
|---|---|
SdTablePrimaryKeyAttribute |
SdTable.getPrimaryKey()
获取主键属性
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setColumnName(String columnName)
column name
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setKeySeq(String keySeq)
sequence number within primary key( a valueof 1 represents the first column
of the primary key, a value of 2 wouldrepresent the second column within
the primary key).
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setPkName(String pkName)
primary key name (may be null)
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setTableCat(String tableCat)
table catalog (may be null)
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setTableName(String tableName)
table name
|
SdTablePrimaryKeyAttribute |
SdTablePrimaryKeyAttribute.setTableSchem(String tableSchem)
table schema (may be null)
|
| 限定符和类型 | 方法和说明 |
|---|---|
SdTable |
SdTable.setPrimaryKey(SdTablePrimaryKeyAttribute primaryKey)
设置主键属性
|
Copyright © 2019 Mirren Tools. All rights reserved.