public class OraclePlatformDialect extends PlatformDialect
dataSourceWrapper, mappingGlobalWrapper| 构造器和说明 |
|---|
OraclePlatformDialect() |
| 限定符和类型 | 方法和说明 |
|---|---|
SQLBuilderCombine |
alter(StampAlter alter) |
SQLBuilderCombine |
create(StampCreate create) |
protected void |
createIndex(MappingTable mappingTable,
MappingField mappingField,
boolean unique)
修改删除表字段时可能需要重新创建单列索引
|
protected DialectNextStep |
defineModifyColumn(DataDefinition definition) |
SQLBuilderCombine |
delete(StampDelete delete) |
SQLBuilderCombine |
drop(StampDrop drop) |
protected void |
dropIndex(MappingTable mappingTable,
MappingField mappingField)
修改删除表字段时可能需要重新删除单列索引
|
List<TableStructure> |
getTableStructures(List<String> classTableNames) |
SQLBuilderCombine |
insert(StampInsert insert) |
boolean |
isSupportGeneratedKeys()
数据库驱动是否支持返回添加后的ID
|
boolean |
isSupportSameColumnIndex()
是否支持相同列的索引
比如:
index1 (A,B)
index2 (A,B)
mysql can create index1 and index2
oracle just only create one index
|
SQLBuilderCombine |
rename(StampRename alter) |
SQLBuilderCombine |
select(StampSelect select) |
SQLBuilderCombine |
update(StampUpdate update) |
commonAddColumn, commonAddIndex, commonCreateTable, commonCreateTable, commonDropColumn, commonDropIndex, commonDropTable, compareColumnChange, compareColumnChangeDefault, compareColumnChangeType, define, defineAddColumn, defineAddColumnDefaultNull, defineAddColumnNotNullDefault, defineAddIndex, defineCreateTable, defineCreateTableExtra, defineDropColumn, defineDropIndex, defineDropTable, defineModifyIndex, getAutoIncrementPrimaryKeyType, getCatalogAndSchema, getColumnType, isSelectHavingMustGroupBy, isSelectLimitMustOrderBy, loadingTableStructures, rebuildEndTable, rebuildStartTable, rebuildTable, registerColumnType, registerColumnType, registerColumnType, registerColumnType, registerColumnType, runner, runner, setDataSourceWrapper, setMappingGlobalWrapper, setSQLType, triggerIndexpublic List<TableStructure> getTableStructures(List<String> classTableNames) throws SQLException
getTableStructures 在接口中 DialectgetTableStructures 在类中 PlatformDialectSQLExceptionpublic SQLBuilderCombine alter(StampAlter alter)
alter 在接口中 Dialectalter 在类中 PlatformDialectpublic SQLBuilderCombine rename(StampRename alter)
public SQLBuilderCombine create(StampCreate create)
create 在接口中 Dialectcreate 在类中 PlatformDialectpublic SQLBuilderCombine drop(StampDrop drop)
drop 在接口中 Dialectdrop 在类中 PlatformDialectpublic SQLBuilderCombine insert(StampInsert insert) throws SQLException
insert 在接口中 Dialectinsert 在类中 PlatformDialectSQLExceptionpublic boolean isSupportSameColumnIndex()
PlatformDialectisSupportSameColumnIndex 在接口中 DialectisSupportSameColumnIndex 在类中 PlatformDialectpublic SQLBuilderCombine delete(StampDelete delete)
delete 在接口中 Dialectdelete 在类中 PlatformDialectpublic SQLBuilderCombine select(StampSelect select)
select 在接口中 Dialectselect 在类中 PlatformDialectpublic SQLBuilderCombine update(StampUpdate update)
update 在接口中 Dialectupdate 在类中 PlatformDialectprotected DialectNextStep defineModifyColumn(DataDefinition definition) throws SQLException
defineModifyColumn 在类中 PlatformDialectSQLExceptionpublic boolean isSupportGeneratedKeys()
PlatformDialectisSupportGeneratedKeys 在接口中 DialectisSupportGeneratedKeys 在类中 PlatformDialectprotected void createIndex(MappingTable mappingTable, MappingField mappingField, boolean unique) throws SQLException
PlatformDialectcreateIndex 在类中 PlatformDialectSQLExceptionprotected void dropIndex(MappingTable mappingTable, MappingField mappingField) throws SQLException
PlatformDialectdropIndex 在类中 PlatformDialectSQLExceptionCopyright © 2020. All rights reserved.