public class DB2PlatformDialect extends PlatformDialect
dataSourceWrapper, mappingGlobalWrapper| 构造器和说明 |
|---|
DB2PlatformDialect() |
| 限定符和类型 | 方法和说明 |
|---|---|
SQLBuilderCombine |
alter(StampAlter alter) |
SQLBuilderCombine |
create(StampCreate create) |
SQLBuilderCombine |
delete(StampDelete delete) |
SQLBuilderCombine |
drop(StampDrop drop) |
protected String |
getCatalogAndSchema()
供应商 Catalog支持 Schema支持
Oracle 不支持 Oracle User ID
MySQL 不支持 数据库名
MS SQL Server 数据库名 对象属主名,2005版开始有变
DB2 指定数据库对象时,Catalog部分省略 Catalog属主名
Sybase 数据库名 数据库属主名
Informix 不支持 不需要
PointBase 不支持 数据库名
|
SQLBuilderCombine |
insert(StampInsert insert) |
boolean |
isSupportGeneratedKeys()
数据库驱动是否支持返回添加后的ID
|
protected void |
rebuildEndTable(MappingTable mappingTable,
TableStructure tableStructure) |
protected void |
rebuildStartTable(MappingTable mappingTable,
String tableName) |
SQLBuilderCombine |
rename(StampRename alter) |
SQLBuilderCombine |
select(StampSelect select) |
SQLBuilderCombine |
update(StampUpdate update) |
commonAddColumn, commonAddIndex, commonCreateTable, commonCreateTable, commonDropColumn, commonDropIndex, commonDropTable, compareColumnChange, compareColumnChangeDefault, compareColumnChangeType, createIndex, define, defineAddColumn, defineAddColumnDefaultNull, defineAddColumnNotNullDefault, defineAddIndex, defineCreateTable, defineCreateTableExtra, defineDropColumn, defineDropIndex, defineDropTable, defineModifyColumn, defineModifyIndex, dropIndex, getAutoIncrementPrimaryKeyType, getColumnType, getTableStructures, isSelectHavingMustGroupBy, isSelectLimitMustOrderBy, isSupportSameColumnIndex, loadingTableStructures, rebuildTable, registerColumnType, registerColumnType, registerColumnType, registerColumnType, registerColumnType, runner, runner, setDataSourceWrapper, setMappingGlobalWrapper, setSQLType, triggerIndexprotected String getCatalogAndSchema() throws SQLException
PlatformDialectgetCatalogAndSchema 在类中 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)
insert 在接口中 Dialectinsert 在类中 PlatformDialectpublic SQLBuilderCombine delete(StampDelete delete)
delete 在接口中 Dialectdelete 在类中 PlatformDialectpublic SQLBuilderCombine select(StampSelect select)
select 在接口中 Dialectselect 在类中 PlatformDialectpublic SQLBuilderCombine update(StampUpdate update)
update 在接口中 Dialectupdate 在类中 PlatformDialectprotected void rebuildStartTable(MappingTable mappingTable, String tableName) throws SQLException
rebuildStartTable 在类中 PlatformDialectSQLExceptionprotected void rebuildEndTable(MappingTable mappingTable, TableStructure tableStructure) throws SQLException
rebuildEndTable 在类中 PlatformDialectSQLExceptionpublic boolean isSupportGeneratedKeys()
PlatformDialectisSupportGeneratedKeys 在接口中 DialectisSupportGeneratedKeys 在类中 PlatformDialectCopyright © 2020. All rights reserved.