Top Description Fields Constructors Methods
org.eclipse.persistence.platform.database

public Class DatabasePlatform

extends DatabasePlatform
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.platform.database.DB2Platform, org.eclipse.persistence.platform.database.DBasePlatform, org.eclipse.persistence.platform.database.FirebirdPlatform, org.eclipse.persistence.platform.database.H2Platform, org.eclipse.persistence.platform.database.HANAPlatform, org.eclipse.persistence.platform.database.HSQLPlatform, org.eclipse.persistence.platform.database.MaxDBPlatform, org.eclipse.persistence.platform.database.MySQLPlatform, org.eclipse.persistence.platform.database.OraclePlatform, org.eclipse.persistence.platform.database.PervasivePlatform, org.eclipse.persistence.platform.database.PointBasePlatform, org.eclipse.persistence.platform.database.PostgreSQLPlatform, org.eclipse.persistence.platform.database.SQLServerPlatform, org.eclipse.persistence.platform.database.SybasePlatform, org.eclipse.persistence.platform.database.SymfowarePlatform, org.eclipse.persistence.platform.database.TimesTenPlatform, org.eclipse.persistence.platform.database.InformixPlatform, org.eclipse.persistence.platform.database.AccessPlatform, org.eclipse.persistence.platform.database.AttunityPlatform, org.eclipse.persistence.platform.database.CloudscapePlatform

DatabasePlatform is private to EclipseLink. It encapsulates behavior specific to a database platform (eg. Oracle, Sybase, DBase), and provides protocol for EclipseLink to access this behavior. The behavior categories which require platform specific handling are SQL generation and sequence behavior. While database platform currently provides sequence number retrieval behavior, this will move to a sequence manager (when it is implemented).
Since
TOPLink/Java 1.0
See Also
AccessPlatform, DB2Platform, DBasePlatform, OraclePlatform, SybasePlatform

Field Summary

Modifier and TypeField and Description
public static final int
Inherited from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform:
batchWritingMechanismcastSizeForVarcharParameterclassTypescursorCodeDEFAULT_MAX_BATCH_WRITING_SIZEDEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZEdriverNamedriverSupportsNationalCharacterVaryingfieldTypesIS_VALID_TIMEOUTisCastRequiredmaxBatchWritingSizepartitioningCallbackpingSQLprintInnerJoinInWhereClauseprintOuterJoinInWhereClauseshouldBindAllParametersshouldBindLiteralsshouldBindPartialParametersshouldCacheAllStatementsshouldCreateIndicesOnForeignKeysshouldForceBindAllParametersshouldForceFieldNamesToUpperCaseshouldIgnoreCaseOnFieldComparisonsshouldOptimizeDataConversionshouldTrimStringsstatementCacheSizestoredProcedureTerminationTokenstringBindingSizestructConverterssupportsAutoCommittableCreationSuffixtransactionIsolationtypeConvertersuseJDBCStoredProcedureSyntaxuseNationalCharacterVaryinguseRownumFilteringusesBatchWritingusesByteArrayBindingusesJDBCBatchWritingusesNativeBatchWritingusesNativeSQLusesStreamsForBindingusesStringBinding

Constructor Summary

AccessConstructor and Description
public
DatabasePlatform()

Creates an instance of default database platform.

Method Summary

Inherited from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform:
addBatchaddStructConverterallowBindingForSelectClauseallowsSizeInProcedureArgumentsappendBooleanappendByteArrayappendCalendarappendDateappendLiteralToCallappendLiteralToCallWithBindingappendNumberappendParameterappendParameterInternalappendStringappendTimeappendTimestampautoCommitbeginTransactionbuildBatchCriteriabuildBatchCriteriaForComplexIdbuildCallWithReturningbuildClassTypesbuildCreateIndexbuildCreateIndexbuildDropIndexbuildDropIndexbuildFieldTypesbuildProcedureCallStringbuildSequenceObjectAlterIncrementWriterbuildSequenceObjectCreationWriterbuildSequenceObjectDeletionWritercanBatchWriteWithOptimisticLockingcanBuildCallWithReturningcheckTableExistscommitTransactioncomputeMaxRowsForSQLconvertToDatabaseTypecopyIntocreateArraycreateArraycreatePlatformDefaultSequencecreateStructcreateStructcreateStructdontBindUpdateAllQueryUsingTempTablesexecuteBatchexecuteStoredProcedurefreeTemporaryObjectgetAssignmentStringgetBatchBeginStringgetBatchDelimiterStringgetBatchEndStringgetBatchRowCountAssignStringgetBatchRowCountDeclareStringgetBatchRowCountReturnStringgetBatchWritingMechanismgetCastSizeForVarcharParametergetClassTypesgetConnectiongetConnectionUserNamegetConstraintDeletionStringgetCreateDatabaseSchemaStringgetCreateTempTableSqlBodyForTablegetCreateTempTableSqlPrefixgetCreateTempTableSqlSuffixgetCreateViewStringgetCreationInOutputProcedureTokengetCreationOutputProcedureTokengetCursorCodegetCustomModifyValueForCallgetDefaultSequenceTableNamegetDriverSupportsNVarChargetDropCascadeStringgetDropDatabaseSchemaStringgetFieldTypeDefinitiongetFieldTypesgetFunctionCallHeadergetIndexNamePrefixgetInOutputProcedureTokengetInputProcedureTokengetJDBCOuterJoinStringgetJDBCTypegetJDBCTypegetJDBCTypeForSetNullgetJdbcTypeNamegetJsonPlatformgetMaxBatchWritingSizegetMaxFieldNameSizegetMaxForeignKeyNameSizegetMaxIndexNameSizegetMaxUniqueKeyNameSizegetNoWaitStringgetObjectFromResultSetgetOutputProcedureTokengetParameterValueFromDatabaseCallgetParameterValueFromDatabaseCallgetPartitioningCallbackgetPingSQLgetProcedureArgumentgetProcedureArgumentStringgetProcedureAsStringgetProcedureBeginStringgetProcedureCallHeadergetProcedureCallTailgetProcedureEndStringgetProcedureOptionListgetQualifiedNamegetQualifiedSequenceTableNamegetRefValuegetRefValuegetSelectForUpdateNoWaitStringgetSelectForUpdateOfStringgetSelectForUpdateStringgetSelectForUpdateWaitStringgetSequenceCounterFieldNamegetSequenceNameFieldNamegetSequencePreallocationSizegetSequenceTableNamegetStatementCacheSizegetStoredProcedureParameterPrefixgetStoredProcedureTerminationTokengetStringBindingSizegetStructConvertersgetTableCreationSuffixgetTableExistsQuerygetTempTableForTablegetTransactionIsolationgetTypeConvertersgetUniqueConstraintDeletionStringgetUseNationalCharacterVaryingTypeForStringgetVPDClearIdentifierQuerygetVPDCreationFunctionStringgetVPDCreationPolicyStringgetVPDDeletionStringgetVPDSetIdentifierQueryhasPartitioningCallbackinitializeinitializeConnectionDataisAlterSequenceObjectSupportedisCastRequiredisDynamicSQLRequiredForFunctionsisForUpdateCompatibleWithDistinctisInformixOuterJoinisJDBCExecuteCompliantisLobCompatibleWithDistinctisLockTimeoutExceptionisNullAllowedInSelectClauseisOutputAllowWithResultSetisRowCountOutputParameterRequiredisXDBDocumentmaximumNumericValuesminimumNumericValuesminimumTimeIncrementprepareBatchStatementprintFieldIdentityClauseprintFieldNotNullClauseprintFieldNullClauseprintFieldTypeSizeprintFieldTypeSizeprintFieldUniqueprintFieldUniqueprintSQLSelectStatementprintStoredFunctionReturnKeyWordprintValuelistprintValuelistregisterOutputParameterregisterOutputParameterregisterOutputParameterregisterOutputParameterrequiresNamedPrimaryKeyConstraintsrequiresProcedureBracketsrequiresProcedureCallBracketsrequiresProcedureCallOuputTokenrequiresTableInIndexDropDDLrequiresTypeNameToRegisterOutputParameterrequiresUniqueConstraintCreationOnTableCreateretrieveFirstPrimaryKeyOrOnerollbackTransactionsetBatchWritingMechanismsetCastSizeForVarcharParametersetClassTypessetCursorCodesetDriverNamesetDriverSupportsNVarCharsetFieldTypessetIsCastRequiredsetMaxBatchWritingSizesetNullFromDatabaseFieldsetNullFromDatabaseFieldsetParameterValueInDatabaseCallsetParameterValueInDatabaseCallsetPartitioningCallbacksetPingSQLsetPrintInnerJoinInWhereClausesetPrintOuterJoinInWhereClausesetSequenceCounterFieldNamesetSequenceNameFieldNamesetSequenceTableNamesetShouldBindAllParameterssetShouldBindLiteralssetShouldBindPartialParameterssetShouldCacheAllStatementssetShouldCreateIndicesOnForeignKeyssetShouldForceBindAllParameterssetShouldForceFieldNamesToUpperCasesetShouldIgnoreCaseOnFieldComparisonssetShouldOptimizeDataConversionsetShouldTrimStringssetShouldUseRownumFilteringsetStatementCacheSizesetStoredProcedureTerminationTokensetStringBindingSizesetSupportsAutoCommitsetTableCreationSuffixsetTransactionIsolationsetUseJDBCStoredProcedureSyntaxsetUseNationalCharacterVaryingTypeForStringsetUsesBatchWritingsetUsesByteArrayBindingsetUsesJDBCBatchWritingsetUsesNativeBatchWritingsetUsesNativeSQLsetUsesStreamsForBindingsetUsesStringBindingshouldAlwaysUseTempStorageForModifyAllshouldBindAllParametersshouldBindLiteralsshouldBindPartialParametersshouldCacheAllStatementsshouldCreateIndicesForPrimaryKeysshouldCreateIndicesOnForeignKeysshouldCreateIndicesOnUniqueKeysshouldForceBindAllParametersshouldForceFieldNamesToUpperCaseshouldIgnoreCaseOnFieldComparisonsshouldIgnoreExceptionshouldOptimizeDataConversionshouldPrintAliasForUpdateshouldPrintConstraintNameAftershouldPrintFieldIdentityClauseshouldPrintForUpdateClauseshouldPrintInnerJoinInWhereClauseshouldPrintInOutputTokenBeforeTypeshouldPrintInputTokenAtStartshouldPrintLockingClauseAfterWhereClauseshouldPrintOuterJoinInWhereClauseshouldPrintOutputTokenAtStartshouldPrintOutputTokenBeforeTypeshouldPrintStoredProcedureArgumentNameInCallshouldPrintStoredProcedureVariablesAfterBeginStringshouldTempTableSpecifyPrimaryKeysshouldTrimStringsshouldUseCustomModifyForCallshouldUseGetSetNStringshouldUseJDBCOuterJoinSyntaxshouldUseRownumFilteringsupportsANSIInnerJoinSyntaxsupportsAutoCommitsupportsAutoConversionToNumericForArithmeticOperationssupportsConnectionUserNamesupportsCountDistinctWithMultipleFieldssupportsDeleteOnCascadesupportsForeignKeyConstraintssupportsGlobalTempTablessupportsIndexessupportsIndividualTableLockingsupportsLocalTempTablessupportsLockingQueriesWithMultipleTablessupportsNestingOuterJoinssupportsOrderByParameterssupportsOuterJoinsWithBracketssupportsPrimaryKeyConstraintsupportsStoredFunctionssupportsTempTablessupportsUniqueColumnssupportsUniqueKeyConstraintssupportsVPDsupportsWaitForUpdateusesBatchWritingusesByteArrayBindingusesJDBCBatchWritingusesNativeBatchWritingusesNativeSQLusesSequenceTableusesStreamsForBindingusesStringBindingwasFailureCommunicationBasedwriteAddColumnClausewriteAutoAssignmentSetClausewriteAutoJoinWhereClausewriteCleanUpTempTableSqlwriteCreateTempTableSqlwriteDeleteFromTargetTableUsingTempTableSqlwriteFieldswriteFieldsAutoClausewriteFieldsListwriteInsertIntoTableSqlwriteJoinWhereClausewriteLOBwriteParameterMarkerwriteTableCreationSuffixwriteUpdateOriginalFromTempTableSql

Field Detail

DEFAULT_VARCHAR_SIZEback to summary
public static final int DEFAULT_VARCHAR_SIZE

Constructor Detail

DatabasePlatformback to summary
public DatabasePlatform()

Creates an instance of default database platform.