public class DerbyHelper extends GenericDbmsHelper
databasePlatform
Constructor and Description |
---|
DerbyHelper(org.eclipse.persistence.platform.database.DatabasePlatform databasePlatform) |
Modifier and Type | Method and Description |
---|---|
String |
getRenameColumnStatement(String tableName,
String oldName,
DBAccessor.DBColumnInfo columnInfo)
Generate rename column statement
|
boolean |
supportsColumnTypeChange()
Check if column type can be modified directly
|
StringBuilder |
writeColumnModifyString(StringBuilder builder,
DBAccessor.DBColumnInfo columnInfo) |
String |
writeGetTableConstraints(String databaseName,
String tableName) |
StringBuilder |
writeSetNullableString(StringBuilder builder,
String tableName,
DBAccessor.DBColumnInfo columnInfo,
boolean nullable) |
convertToFieldDefinition, createStubAbstractSessionFromPlatform, getAddColumnStatement, getAddForeignKeyStatement, getAddPrimaryKeyConstraintStatement, getAddUniqueConstraintStatement, getAlterColumnStatement, getColumnUpdateStatementWhereColumnIsNull, getCopyColumnToAnotherTableStatement, getCopyColumnToAnotherTableStatement, getCreateIndexStatement, getCreateIndexStatement, getCreateTableStatement, getDropFKConstraintStatement, getDropIndexStatement, getDropPrimaryKeyStatement, getDropSequenceStatement, getDropTableColumnStatement, getDropTableStatement, getDropUniqueConstraintStatement, getRenameColumnStatement, getSetNullableStatement, getTableConstraintsStatement, isConstraintSupportedAfterNullability, quoteObjectName, writeAddPrimaryKeyString, writeAlterTableClause, writeColumnRenameString, writeColumnType, writeCreateTableStatement, writeDropPrimaryKeyStatement, writeDropTableColumnStatement
public DerbyHelper(org.eclipse.persistence.platform.database.DatabasePlatform databasePlatform)
public boolean supportsColumnTypeChange()
DbmsHelper
supportsColumnTypeChange
in interface DbmsHelper
supportsColumnTypeChange
in class GenericDbmsHelper
public String getRenameColumnStatement(String tableName, String oldName, DBAccessor.DBColumnInfo columnInfo)
DbmsHelper
getRenameColumnStatement
in interface DbmsHelper
getRenameColumnStatement
in class GenericDbmsHelper
columnInfo
- definition of new columnpublic StringBuilder writeColumnModifyString(StringBuilder builder, DBAccessor.DBColumnInfo columnInfo)
writeColumnModifyString
in class GenericDbmsHelper
public StringBuilder writeSetNullableString(StringBuilder builder, String tableName, DBAccessor.DBColumnInfo columnInfo, boolean nullable)
writeSetNullableString
in class GenericDbmsHelper
public String writeGetTableConstraints(String databaseName, String tableName)
writeGetTableConstraints
in class GenericDbmsHelper
Copyright © 2022 Apache Software Foundation. All rights reserved.