public class PlatformInfo extends Object
| Constructor and Description |
|---|
PlatformInfo()
Creates a new platform info object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEquivalentOnDeleteActions(CascadeActionEnum actionA,
CascadeActionEnum actionB)
Registers the given pair of ON DELETE actions to be equivalent.
|
void |
addEquivalentOnUpdateActions(CascadeActionEnum actionA,
CascadeActionEnum actionB)
Registers the given pair of ON UPDATE actions to be equivalent.
|
void |
addNativeTypeMapping(int jdbcTypeCode,
String nativeType)
Adds a mapping from jdbc type to database-native type.
|
void |
addNativeTypeMapping(int jdbcTypeCode,
String nativeType,
int targetJdbcTypeCode)
Adds a mapping from jdbc type to database-native type.
|
void |
addNativeTypeMapping(String jdbcTypeName,
String nativeType)
Adds a mapping from jdbc type to database-native type.
|
void |
addNativeTypeMapping(String jdbcTypeName,
String nativeType,
String targetJdbcTypeName)
Adds a mapping from jdbc type to database-native type.
|
boolean |
areEquivalentOnDeleteActions(CascadeActionEnum actionA,
CascadeActionEnum actionB)
Determiones whether the two ON DELETE actions are equivalent.
|
boolean |
areEquivalentOnUpdateActions(CascadeActionEnum actionA,
CascadeActionEnum actionB)
Determiones whether the two ON UPDATE actions are equivalent.
|
String |
getCommentPrefix()
Returns the string that denotes the beginning of a comment.
|
String |
getCommentSuffix()
Returns the string that denotes the end of a comment.
|
CascadeActionEnum |
getDefaultOnDeleteAction()
Returns the default ON DELETE action that is used if none is specified.
|
CascadeActionEnum |
getDefaultOnUpdateAction()
Returns the default ON UPDATE action that is used if none is specified.
|
Integer |
getDefaultSize(int jdbcTypeCode)
Returns the default size value for the given type, if any.
|
String |
getDelimiterToken()
Returns the text that is used to delimit identifiers (eg.
|
boolean |
getIdentityStatusReadingSupported()
Determines whether the platform is able to read the auto-increment status for columns
from an existing database.
|
int |
getMaxColumnNameLength()
Returns the maximum number of characters that a column name can have.
|
int |
getMaxConstraintNameLength()
Returns the maximum number of characters that a constraint name can have.
|
int |
getMaxForeignKeyNameLength()
Returns the maximum number of characters that a foreign key name can have.
|
int |
getMaxTableNameLength()
Returns the maximum number of characters that a table name can have.
|
String |
getNativeType(int typeCode)
Returns the database-native type for the given type code.
|
String |
getSqlCommandDelimiter()
Returns the text separating individual sql commands.
|
int |
getTargetJdbcType(int typeCode)
Returns the jdbc type corresponding to the native type that is used for the given
jdbc type.
|
String |
getValueQuoteToken()
Returns the text that is used for for quoting values (e.g.
|
boolean |
hasNullDefault(int sqlTypeCode)
Determines whether the native type for the given sql type code (one of the
Types constants) has a null default value on this platform. |
boolean |
hasPrecisionAndScale(int sqlTypeCode)
Determines whether the native type for the given sql type code (one of the
Types constants) has precision and scale specifications on
this platform. |
boolean |
hasSize(int sqlTypeCode)
Determines whether the native type for the given sql type code (one of the
Types constants) has a size specification on this platform. |
boolean |
isActionSupportedForOnDelete(CascadeActionEnum action)
Determines whether the given action is supported for ON DELETE on this platform.
|
boolean |
isActionSupportedForOnUpdate(CascadeActionEnum action)
Determines whether the given action is supported for ON UPDATE on this platform.
|
boolean |
isAddingIdentityUsingAlterTableSupported()
Returns true if the current platform supports adding identity column
using ALTER TABLE (only supported by GemFireXD for now)
|
boolean |
isAlterTableForDropUsed()
Determines whether an ALTER TABLE statement shall be used for dropping indices
or constraints.
|
boolean |
isAutoCommitModeForLastIdentityValueReading()
Determines whether auto-commit mode for the reading of the values of identity columns
after insertion shall be used, i.e.
|
boolean |
isDDLExportSupported()
Returns true if the current platform supports exporting all DDLs as SQL
strings (only supported by GemFireXD for now)
|
boolean |
isDefaultValuesForLongTypesSupported()
Determines whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
|
boolean |
isDefaultValueUsedForIdentitySpec()
Determines whether the auto-increment specification uses the DEFAULT value of the
column definition.
|
boolean |
isDelimitedIdentifiersSupported()
Determines whether delimited identifiers are supported.
|
boolean |
isEmbeddedForeignKeysNamed()
Returns whether embedded foreign key constraints should have a name.
|
boolean |
isForeignKeysEmbedded()
Determines whether foreign key constraints are embedded in the create
table clause or as seperate alter table statements.
|
boolean |
isIdentityColumnAutomaticallyRequired()
Determines whether the database will make an idenity column automatically required.
|
boolean |
isIdentityOverrideAllowed()
Determines whether the platform is allows the explicit specification of values for
identity columns in INSERT/UPDATE statements.
|
boolean |
isIdentityValueReadableInBatchUsingStatement() |
boolean |
isIdentityValueReadableUsingStatement() |
boolean |
isIndicesEmbedded()
Determines whether the indices are embedded in the create table clause
or as seperate statements.
|
boolean |
isIndicesSupported()
Determines whether indices are supported.
|
boolean |
isLastIdentityValueReadable()
Determines whether the values of identity columns can be read back from the
database after insertion of a row.
|
boolean |
isMixingIdentityAndNormalPrimaryKeyColumnsSupported()
Determines whether primary key can contain identity and non-identity columns at the same time.
|
boolean |
isMultipleIdentityColumnsSupported()
Determines whether multiple columns in the same table can be auto-incrementing (IDENTITY columns).
|
boolean |
isNonPrimaryKeyIdentityColumnsSupported()
Determines whether non-primary key columns can be auto-incrementing (IDENTITY columns).
|
boolean |
isNullAsDefaultValueRequired()
Determines whether a NULL needs to be explicitly stated when the column
has no specified default value.
|
boolean |
isPrimaryKeyColumnAutomaticallyRequired()
Determines whether the database will make a primary key column automatically required.
|
boolean |
isPrimaryKeyColumnsHaveToBeRequired()
Determines whether the primary key constraints have to be required, as well.
|
boolean |
isPrimaryKeyEmbedded()
Determines whether primary key constraints are embedded in the create
table clause or as seperate alter table statements.
|
boolean |
isSqlCommentsSupported()
Determines whether the database supports SQL comments.
|
boolean |
isSyntheticDefaultValueForRequiredReturned()
Determines whether the platform returns synthetic default values (e.g.
|
boolean |
isSystemForeignKeyIndicesAlwaysNonUnique()
Determines whether system indices for foreign keys are always non-unique or can be
unique (i.e.
|
boolean |
isSystemIndicesReturned()
Determines whether database-generated indices for primary and foreign keys are
returned when reading a model from a database.
|
void |
setAlterTableForDropUsed(boolean useAlterTableForDrop)
Specifies whether an ALTER TABLE statement shall be used for dropping indices
or constraints.
|
void |
setAutoCommitModeForLastIdentityValueReading(boolean autoCommitModeForLastIdentityValueReading)
Determines whether auto-commit mode for the reading of the values of identity columns
after insertion shall be used, i.e.
|
void |
setCommentPrefix(String commentPrefix)
Sets the text that starts a comment.
|
void |
setCommentSuffix(String commentSuffix)
Sets the text that ends a comment.
|
void |
setDDLExportSupported(boolean v)
Set the flag for
isDDLExportSupported(). |
void |
setDefaultOnDeleteAction(CascadeActionEnum defaultOnDeleteAction)
Sets the default ON DELETE action that is used if none is specified.
|
void |
setDefaultOnUpdateAction(CascadeActionEnum defaultOnUpdateAction)
Sets the default ON UPDATE action that is used if none is specified.
|
void |
setDefaultSize(int jdbcTypeCode,
int defaultSize)
Adds a default size for the given jdbc type.
|
void |
setDefaultSize(String jdbcTypeName,
int defaultSize)
Adds a default size for the given jdbc type.
|
void |
setDefaultValuesForLongTypesSupported(boolean isSupported)
Specifies whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
|
void |
setDefaultValueUsedForIdentitySpec(boolean identitySpecUsesDefaultValue)
Specifies whether the auto-increment specification uses the DEFAULT value of the
column definition.
|
void |
setDelimitedIdentifiersSupported(boolean areSupported)
Specifies whether delimited identifiers are supported.
|
void |
setDelimiterToken(String delimiterToken)
Sets the text that is used to delimit identifiers (eg.
|
void |
setEmbeddedForeignKeysNamed(boolean embeddedForeignKeysNamed)
Specifies whether embedded foreign key constraints should be named.
|
void |
setForeignKeysEmbedded(boolean foreignKeysEmbedded)
Specifies whether foreign key constraints are embedded in the create
table clause or as seperate alter table statements.
|
void |
setHasNullDefault(int sqlTypeCode,
boolean hasNullDefault)
Specifies whether the native type for the given sql type code (one of the
Types constants) has a null default value on this platform. |
void |
setHasPrecisionAndScale(int sqlTypeCode,
boolean hasPrecisionAndScale)
Specifies whether the native type for the given sql type code (one of the
Types constants) has precision and scale specifications on
this platform. |
void |
setHasSize(int sqlTypeCode,
boolean hasSize)
Specifies whether the native type for the given sql type code (one of the
Types constants) has a size specification on this platform. |
void |
setIdentityColumnAutomaticallyRequired(boolean identityAutomaticallyRequired)
Specifies whether the database will make a primary key column automatically required.
|
void |
setIdentityOverrideAllowed(boolean identityOverrideAllowed)
Specifies whether the platform is allows the explicit specification of values for
identity columns in INSERT/UPDATE statements.
|
void |
setIdentityStatusReadingSupported(boolean canReadAutoIncrementStatus)
Specifies whether the platform is able to read the auto-increment status for columns
from an existing database.
|
void |
setIdentityValueReadableInBatchUsingStatement(boolean identityValueReadableInBatchUsingStmt) |
void |
setIdentityValueReadableUsingStatement(boolean identityValueReadableUsingStmt) |
void |
setIndicesEmbedded(boolean indicesEmbedded)
Specifies whether indices are embedded in the create table clause or
as seperate alter table statements.
|
void |
setIndicesSupported(boolean supportingIndices)
Specifies whether indices are supported.
|
void |
setLastIdentityValueReadable(boolean lastIdentityValueReadable)
Specifies whether the values of identity columns can be read back from the
database after insertion of a row.
|
void |
setMaxColumnNameLength(int maxColumnNameLength)
Sets the maximum length of column names that this database allows.
|
void |
setMaxConstraintNameLength(int maxConstraintNameLength)
Sets the maximum length of constraint names that this database allows.
|
void |
setMaxForeignKeyNameLength(int maxForeignKeyNameLength)
Sets the maximum length of foreign key names that this database allows.
|
void |
setMaxIdentifierLength(int maxIdentifierLength)
Sets the maximum length of all identifiers that this database allows.
|
void |
setMaxTableNameLength(int maxTableNameLength)
Sets the maximum length of table names that this database allows.
|
void |
setMixingIdentityAndNormalPrimaryKeyColumnsSupported(boolean mixingIdentityAndNormalPrimaryKeyColumnsSupported)
Specifies whether primary key can contain identity and non-identity columns at the same time.
|
void |
setMultipleIdentityColumnsSupported(boolean supportingMultipleIdentityColumns)
Specifies whether multiple columns in the same table can be auto-incrementing (IDENTITY columns).
|
void |
setNonPrimaryKeyIdentityColumnsSupported(boolean supportingNonPKIdentityColumns)
Specifies whether non-primary key columns can be auto-incrementing (IDENTITY columns).
|
void |
setNullAsDefaultValueRequired(boolean requiresNullAsDefaultValue)
Specifies whether a NULL needs to be explicitly stated when the column
has no specified default value.
|
void |
setPrimaryKeyColumnAutomaticallyRequired(boolean primaryKeyAutomaticallyRequired)
Specifies whether the database will make a primary key column automatically required.
|
void |
setPrimaryKeyColumnsHaveToBeRequired(boolean primaryKeyColumnsHaveToBeRequired)
Specifies whether the primary key constraints have to be required, as well.
|
void |
setPrimaryKeyEmbedded(boolean primaryKeyEmbedded)
Specifies whether the primary key constraints are embedded in the create
table clause or as seperate alter table statements.
|
void |
setSqlCommandDelimiter(String sqlCommandDelimiter)
Sets the text separating individual sql commands.
|
void |
setSqlCommentsSupported(boolean commentsSupported)
Specifies whether SQL comments are supported by the database.
|
void |
setSupportedOnDeleteActions(CascadeActionEnum[] actions)
Sets the actions that this platform supports for ON DELETE.
|
void |
setSupportedOnUpdateActions(CascadeActionEnum[] actions)
Sets the actions that this platform supports for ON UPDATE.
|
void |
setSupportsAddIdentityUsingAlterTable(boolean v)
Set the flag for
isAddingIdentityUsingAlterTableSupported(). |
void |
setSyntheticDefaultValueForRequiredReturned(boolean returningDefaultValue)
Specifies whether the platform returns synthetic default values (e.g.
|
void |
setSystemForeignKeyIndicesAlwaysNonUnique(boolean alwaysNonUnique)
Specifies whether system indices for foreign keys are always non-unique or can be
unique (i.e.
|
void |
setSystemIndicesReturned(boolean returningSystemIndices)
Specifies whether database-generated indices for primary and foreign keys are
returned when reading a model from a database.
|
void |
setValueQuoteToken(String valueQuoteChar)
Sets the text that is used for for quoting values (e.g.
|
public boolean isNullAsDefaultValueRequired()
true if NULL must be written for empty default valuespublic void setNullAsDefaultValueRequired(boolean requiresNullAsDefaultValue)
requiresNullAsDefaultValue - Whether NULL must be written for empty
default valuespublic boolean isDefaultValuesForLongTypesSupported()
true if default values are allowedpublic void setDefaultValuesForLongTypesSupported(boolean isSupported)
isSupported - true if default values are supportedpublic boolean isPrimaryKeyEmbedded()
true if pk constraints are embeddedpublic void setPrimaryKeyEmbedded(boolean primaryKeyEmbedded)
primaryKeyEmbedded - Whether pk constraints are embeddedpublic boolean isPrimaryKeyColumnsHaveToBeRequired()
true if pk constraints have to be requiredpublic void setPrimaryKeyColumnsHaveToBeRequired(boolean primaryKeyColumnsHaveToBeRequired)
primaryKeyColumnsHaveToBeRequired - Whether pk constraints need to be requiredpublic boolean isMixingIdentityAndNormalPrimaryKeyColumnsSupported()
true if idenity and non-identity columns can be mixed in the pkpublic void setMixingIdentityAndNormalPrimaryKeyColumnsSupported(boolean mixingIdentityAndNormalPrimaryKeyColumnsSupported)
mixingIdentityAndNormalPrimaryKeyColumnsSupported - Whether idenity and non-identity columns
can be mixed in the pkpublic boolean isForeignKeysEmbedded()
true if fk constraints are embeddedpublic void setForeignKeysEmbedded(boolean foreignKeysEmbedded)
foreignKeysEmbedded - Whether fk constraints are embeddedpublic boolean isEmbeddedForeignKeysNamed()
true if embedded fks have namepublic void setEmbeddedForeignKeysNamed(boolean embeddedForeignKeysNamed)
embeddedForeignKeysNamed - Whether embedded fks shall have a namepublic boolean isIndicesSupported()
true if indices are supportedpublic void setIndicesSupported(boolean supportingIndices)
supportingIndices - true if indices are supportedpublic boolean isIndicesEmbedded()
true if indices are embeddedpublic void setIndicesEmbedded(boolean indicesEmbedded)
indicesEmbedded - Whether indices are embeddedpublic boolean isNonPrimaryKeyIdentityColumnsSupported()
true if normal non-PK columns can be auto-incrementingpublic void setNonPrimaryKeyIdentityColumnsSupported(boolean supportingNonPKIdentityColumns)
supportingNonPKIdentityColumns - true if normal non-PK columns can
be auto-incrementingpublic boolean isMultipleIdentityColumnsSupported()
true if multiple columns can be auto-incrementing in the same tablepublic void setMultipleIdentityColumnsSupported(boolean supportingMultipleIdentityColumns)
supportingMultipleIdentityColumns - true if multiple columns can be auto-incrementing
in the same tablepublic boolean isDefaultValueUsedForIdentitySpec()
true if the auto-increment spec is done via the DEFAULT valuepublic void setDefaultValueUsedForIdentitySpec(boolean identitySpecUsesDefaultValue)
identitySpecUsesDefaultValue - true if the auto-increment spec is
done via the DEFAULT valuepublic boolean isPrimaryKeyColumnAutomaticallyRequired()
true if primary key columns are automatically requiredpublic void setPrimaryKeyColumnAutomaticallyRequired(boolean primaryKeyAutomaticallyRequired)
primaryKeyAutomaticallyRequired - true if primary key columns are
automatically requiredpublic boolean isIdentityColumnAutomaticallyRequired()
true if identity columns are automatically requiredpublic void setIdentityColumnAutomaticallyRequired(boolean identityAutomaticallyRequired)
identityAutomaticallyRequired - true if identity columns are
automatically requiredpublic boolean isSystemIndicesReturned()
true if system indices are read from a live databasepublic void setSystemIndicesReturned(boolean returningSystemIndices)
returningSystemIndices - true if system indices are read from
a live databasepublic boolean isSystemForeignKeyIndicesAlwaysNonUnique()
true if system foreign key indices are always non-unique;
default is falsepublic void setSystemForeignKeyIndicesAlwaysNonUnique(boolean alwaysNonUnique)
alwaysNonUnique - true if system foreign key indices are always
non-uniquepublic boolean isSyntheticDefaultValueForRequiredReturned()
true if synthetic default values are returned for non-identity
required columnspublic void setSyntheticDefaultValueForRequiredReturned(boolean returningDefaultValue)
returningDefaultValue - true if synthetic default values are returned for
non-identity required columnspublic boolean getIdentityStatusReadingSupported()
true if the auto-increment status can be determined from an existing
databasepublic void setIdentityStatusReadingSupported(boolean canReadAutoIncrementStatus)
canReadAutoIncrementStatus - true if the auto-increment status can be
determined from an existing databasepublic boolean isSqlCommentsSupported()
true if comments are supportedpublic void setSqlCommentsSupported(boolean commentsSupported)
commentsSupported - true if comments are supportedpublic boolean isDelimitedIdentifiersSupported()
true if delimited identifiers are supportedpublic void setDelimitedIdentifiersSupported(boolean areSupported)
areSupported - true if delimited identifiers are supportedpublic boolean isAlterTableForDropUsed()
true if ALTER TABLE is requiredpublic void setAlterTableForDropUsed(boolean useAlterTableForDrop)
useAlterTableForDrop - Whether ALTER TABLE will be usedpublic boolean isIdentityOverrideAllowed()
true if values for identity columns can be specifiedpublic void setIdentityOverrideAllowed(boolean identityOverrideAllowed)
identityOverrideAllowed - true if values for identity columns can be specifiedpublic boolean isLastIdentityValueReadable()
true if the identity column(s) can be read backpublic void setLastIdentityValueReadable(boolean lastIdentityValueReadable)
lastIdentityValueReadable - true if the identity column(s) can be read backpublic boolean isAutoCommitModeForLastIdentityValueReading()
true if auto-commit mode is usedpublic void setAutoCommitModeForLastIdentityValueReading(boolean autoCommitModeForLastIdentityValueReading)
autoCommitModeForLastIdentityValueReading - true if auto-commit mode
shall be usedpublic int getMaxTableNameLength()
public int getMaxColumnNameLength()
public int getMaxConstraintNameLength()
public int getMaxForeignKeyNameLength()
public void setMaxIdentifierLength(int maxIdentifierLength)
maxIdentifierLength - The maximum identifier length, -1 if unlimitedpublic void setMaxTableNameLength(int maxTableNameLength)
maxTableNameLength - The maximum length, -1 if unlimitedpublic void setMaxColumnNameLength(int maxColumnNameLength)
maxColumnNameLength - The maximum length, -1 if unlimitedpublic void setMaxConstraintNameLength(int maxConstraintNameLength)
maxConstraintNameLength - The maximum length, -1 if unlimitedpublic void setMaxForeignKeyNameLength(int maxForeignKeyNameLength)
maxForeignKeyNameLength - The maximum length, -1 if unlimitedpublic String getDelimiterToken()
public void setDelimiterToken(String delimiterToken)
delimiterToken - The delimiter textpublic String getValueQuoteToken()
public void setValueQuoteToken(String valueQuoteChar)
valueQuoteChar - The new quote textpublic String getCommentPrefix()
public void setCommentPrefix(String commentPrefix)
commentPrefix - The new comment prefixpublic String getCommentSuffix()
public void setCommentSuffix(String commentSuffix)
commentSuffix - The new comment suffixpublic String getSqlCommandDelimiter()
public void setSqlCommandDelimiter(String sqlCommandDelimiter)
sqlCommandDelimiter - The delimiter textpublic String getNativeType(int typeCode)
typeCode - The Types type codenull if there isn't one definedpublic int getTargetJdbcType(int typeCode)
BIT or BOOLEAN, and the target jdbc type might
be TINYINT or SMALLINT.typeCode - The Types type codepublic void addNativeTypeMapping(int jdbcTypeCode,
String nativeType)
jdbcTypeCode - The jdbc type code as defined by TypesnativeType - The native typepublic void addNativeTypeMapping(int jdbcTypeCode,
String nativeType,
int targetJdbcTypeCode)
jdbcTypeCode - The jdbc type code as defined by TypesnativeType - The native typetargetJdbcTypeCode - The jdbc type code corresponding to the native type
(e.g. when reading the model from the database)public void addNativeTypeMapping(String jdbcTypeName, String nativeType)
Types via reflection
and is thus safe to use under JDK 1.2/1.3 even with constants defined
only in later Java versions - for these, the method simply will not add
a mapping.jdbcTypeName - The jdbc type name, one of the constants defined in
TypesnativeType - The native typepublic void addNativeTypeMapping(String jdbcTypeName, String nativeType, String targetJdbcTypeName)
Types via reflection
and is thus safe to use under JDK 1.2/1.3 even with constants defined
only in later Java versions - for these, the method simply will not add
a mapping.jdbcTypeName - The jdbc type name, one of the constants defined
in TypesnativeType - The native typetargetJdbcTypeName - The jdbc type corresponding to the native type
(e.g. when reading the model from the database)public boolean hasNullDefault(int sqlTypeCode)
Types constants) has a null default value on this platform.sqlTypeCode - The sql type codetrue if the native type has a null default valuepublic void setHasNullDefault(int sqlTypeCode,
boolean hasNullDefault)
Types constants) has a null default value on this platform.sqlTypeCode - The sql type codehasNullDefault - true if the native type has a null default valuepublic boolean hasSize(int sqlTypeCode)
Types constants) has a size specification on this platform.sqlTypeCode - The sql type codetrue if the native type has a size specificationpublic void setHasSize(int sqlTypeCode,
boolean hasSize)
Types constants) has a size specification on this platform.sqlTypeCode - The sql type codehasSize - true if the native type has a size specificationpublic Integer getDefaultSize(int jdbcTypeCode)
jdbcTypeCode - The jdbc type codenull if none is definedpublic void setDefaultSize(int jdbcTypeCode,
int defaultSize)
jdbcTypeCode - The jdbc type codedefaultSize - The default sizepublic void setDefaultSize(String jdbcTypeName, int defaultSize)
jdbcTypeName - The name of the jdbc type, one of the Types constantsdefaultSize - The default sizepublic boolean hasPrecisionAndScale(int sqlTypeCode)
Types constants) has precision and scale specifications on
this platform.sqlTypeCode - The sql type codetrue if the native type has precision and scale specificationspublic void setHasPrecisionAndScale(int sqlTypeCode,
boolean hasPrecisionAndScale)
Types constants) has precision and scale specifications on
this platform.sqlTypeCode - The sql type codehasPrecisionAndScale - true if the native type has precision and scale specificationspublic void setSupportedOnUpdateActions(CascadeActionEnum[] actions)
actions - The actionspublic boolean isActionSupportedForOnUpdate(CascadeActionEnum action)
action - The actiontrue if the action is supportedpublic void setSupportedOnDeleteActions(CascadeActionEnum[] actions)
actions - The actionspublic boolean isActionSupportedForOnDelete(CascadeActionEnum action)
action - The actiontrue if the action is supportedpublic CascadeActionEnum getDefaultOnUpdateAction()
public void setDefaultOnUpdateAction(CascadeActionEnum defaultOnUpdateAction)
defaultOnUpdateAction - The default actionpublic CascadeActionEnum getDefaultOnDeleteAction()
public void setDefaultOnDeleteAction(CascadeActionEnum defaultOnDeleteAction)
defaultOnDeleteAction - The default actionpublic void addEquivalentOnUpdateActions(CascadeActionEnum actionA, CascadeActionEnum actionB)
actionA - The first actionactionB - The second actionpublic boolean areEquivalentOnUpdateActions(CascadeActionEnum actionA, CascadeActionEnum actionB)
actionA - The first actionactionB - The second actiontrue if the two actions are equivalentpublic void addEquivalentOnDeleteActions(CascadeActionEnum actionA, CascadeActionEnum actionB)
actionA - The first actionactionB - The second actionpublic boolean areEquivalentOnDeleteActions(CascadeActionEnum actionA, CascadeActionEnum actionB)
actionA - The first actionactionB - The second actiontrue if the two actions are equivalentpublic final boolean isIdentityValueReadableUsingStatement()
public final void setIdentityValueReadableUsingStatement(boolean identityValueReadableUsingStmt)
public final boolean isIdentityValueReadableInBatchUsingStatement()
public final void setIdentityValueReadableInBatchUsingStatement(boolean identityValueReadableInBatchUsingStmt)
public final boolean isAddingIdentityUsingAlterTableSupported()
public final void setSupportsAddIdentityUsingAlterTable(boolean v)
isAddingIdentityUsingAlterTableSupported().public final boolean isDDLExportSupported()
public final void setDDLExportSupported(boolean v)
isDDLExportSupported().Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.