|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
org.eclipse.persistence.platform.database.DatabasePlatform
org.eclipse.persistence.platform.database.SymfowarePlatform
public class SymfowarePlatform
Symfoware Server
http://wiki.eclipse.org/EclipseLink/Development/Incubator/Extensions/SymfowarePlatform
Test results: http://wiki.eclipse.org/EclipseLink/Development/DatabasePlatform/SymfowarePlatform/TestResults
Contributed by: Fujitsu Ltd.
Contributed under bug: 288715
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.platform.database.DatabasePlatform |
---|
DEFAULT_VARCHAR_SIZE |
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform |
---|
castSizeForVarcharParameter, classTypes, cursorCode, DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE, fieldTypes, IS_VALID_TIMEOUT, isCastRequired, maxBatchWritingSize, partitioningCallback, pingSQL, printInnerJoinInWhereClause, printOuterJoinInWhereClause, shouldBindAllParameters, shouldBindLiterals, shouldCacheAllStatements, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldOptimizeDataConversion, shouldTrimStrings, statementCacheSize, stringBindingSize, structConverters, supportsAutoCommit, tableCreationSuffix, transactionIsolation, typeConverters, Types_NCLOB, Types_SQLXML, useRownumFiltering, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeBatchWriting, usesNativeSQL, usesStreamsForBinding, usesStringBinding |
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform |
---|
conversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, tableQualifier, timestampQuery |
Constructor Summary | |
---|---|
SymfowarePlatform()
|
Method Summary | |
---|---|
protected static ExpressionOperator |
addDate()
Adds to a date the specified addition number as the specified interval unit and returns the resulting date. |
protected void |
addNonBindingOperator(ExpressionOperator operator)
Symfoware does not support the use of parameters in certain functions. |
protected void |
appendCalendar(java.util.Calendar calendar,
java.io.Writer writer)
Write a Calendar in Symfoware specific format. |
protected void |
appendDate(java.sql.Date date,
java.io.Writer writer)
Appends a Date in Symfoware specific format. |
protected void |
appendTime(java.sql.Time time,
java.io.Writer writer)
Appends a Time in Symfoware specific format. |
protected void |
appendTimestamp(java.sql.Timestamp timestamp,
java.io.Writer writer)
Appends a TimeStamp in Symfoware specific format. |
protected java.util.Map<java.lang.String,java.lang.Class> |
buildClassTypes()
Return the mapping of database types to class types for the schema framework. |
java.lang.String |
buildCreateIndex(java.lang.String fullTableName,
java.lang.String indexName,
java.lang.String qualifier,
boolean isUnique,
java.lang.String... columnNames)
Return the CREATE INDEX string for this platform. |
java.lang.String |
buildDropIndex(java.lang.String fullTableName,
java.lang.String indexName,
java.lang.String qualifier)
Return the DROP INDEX string for this platform. |
protected java.util.Hashtable<java.lang.Class<?>,org.eclipse.persistence.internal.databaseaccess.FieldTypeDefinition> |
buildFieldTypes()
Return the mapping of Java class types to database types for the schema framework. |
ValueReadQuery |
buildSelectQueryForSequenceObject(java.lang.String seqName,
java.lang.Integer size)
Produce a DataReadQuery which updates(!) |
protected static ExpressionOperator |
charLength()
Obtains the number of characters in the data string value expression. |
int |
computeMaxRowsForSQL(int firstResultIndex,
int maxResults)
Use the JDBC maxResults and firstResultIndex setting to compute a value to use when limiting the results of a query in SQL. |
java.lang.String |
getCreateTempTableSqlPrefix()
Returns the beginning of the SQL string to create a temporary table. |
protected java.lang.String |
getCreateTempTableSqlSuffix()
Returns the ending of the SQL string to create a temporary table. |
java.lang.String |
getDefaultSequenceTableName()
Returns the table name used by TableSequence by default. |
java.lang.String |
getIndexNamePrefix(boolean isUniqueSetOnField)
Used to allow platforms to define their own index prefixes |
java.lang.String |
getInOutputProcedureToken()
This method is used to print the output parameter token when stored procedures are called. |
java.lang.String |
getInputProcedureToken()
Used for stored procedure creation: Prefix for INPUT parameters. |
int |
getMaxFieldNameSize()
Returns the maximum number of single byte characters that can be used in a field name on this platform, assuming DEFAULT_DSI_NAME=CODE is specified in Symfoware's operating environment file for the system (see Symfoware manual). |
java.lang.String |
getProcedureAsString()
Symfoware does not use the AS token. |
java.lang.String |
getProcedureBeginString()
Used for stored procedure definitions. |
java.lang.String |
getProcedureCallHeader()
Used for stored procedure calls. |
java.lang.String |
getProcedureCallTail()
Used for stored procedure calls. |
java.lang.String |
getProcedureEndString()
Used for stored procedure definitions. |
java.lang.String |
getSelectForUpdateString()
Symfoware supports "for update" for row locking. |
ValueReadQuery |
getTimestampQuery()
This method returns the query to select the timestamp from the database. |
protected static ExpressionOperator |
greatest()
Returns the greatest of two values. |
protected void |
initializePlatformOperators()
Initialize Symfoware platform-specific operators. |
protected static ExpressionOperator |
instring()
Evaluates the location of the "tofind" text within the string_exp text. |
boolean |
isDynamicSQLRequiredForFunctions()
Symfoware does not support the use of multiple parameters in certain functions. |
boolean |
isForUpdateCompatibleWithDistinct()
Indicates whether SELECT DISTINCT ... |
boolean |
isSymfoware()
Identifies this database platform as Symfoware's. |
protected static ExpressionOperator |
least()
Returns the smallest of two values. |
protected static ExpressionOperator |
leftTrim()
Returns the string left trimmed for white space. |
protected static ExpressionOperator |
leftTrim2()
Returns the string left trimmed for white space. |
protected static ExpressionOperator |
length()
Obtains the number of characters in the data string value expression. |
protected static ExpressionOperator |
locate()
Evaluates the location of the "tofind" text within the string_exp text. |
protected static ExpressionOperator |
locate2()
Evaluates the location of the "tofind" text within the "string_exp" text, starting from the given start position. |
protected static ExpressionOperator |
logOperator()
Returns the log10 operator. |
long |
minimumTimeIncrement()
INTERNAL: Returns the minimum time increment supported by the platform. |
protected static ExpressionOperator |
mod()
Returns the remainder of a division. |
protected static ExpressionOperator |
monthsBetween()
Returns the decimal number of months between the two dates. |
protected static ExpressionOperator |
nvl()
Substitute a value when a null value is encountered. |
void |
printSQLSelectStatement(org.eclipse.persistence.internal.databaseaccess.DatabaseCall call,
org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter printer,
org.eclipse.persistence.internal.expressions.SQLSelectStatement statement)
Print the pagination SQL using Symfoware syntax " WITH OPTION LIMIT ( |
boolean |
requiresProcedureBrackets()
Used for stored procedure creation: Symfoware needs brackets around arguments declaration even if no arguments exist, and so returns true. |
boolean |
requiresUniqueConstraintCreationOnTableCreate()
Used for table creation. |
void |
retrieveFirstPrimaryKeyOrOne(ReportQuery subselect)
INTERNAL: Used by Exists queries because they just need to select a single row. |
protected static ExpressionOperator |
rightTrim()
Returns the string right trimmed for white space. |
protected static ExpressionOperator |
rightTrim2()
Returns the string right trimmed for white space. |
protected static ExpressionOperator |
roundDate()
Returns the date rounded to the year, month or day. |
boolean |
shouldAlwaysUseTempStorageForModifyAll()
Symfoware does not support the default syntax generated for update-all and delete-all queries as they can include the same table in the FROM clause of the main and the sub-queries. |
boolean |
shouldBindLiterals()
Allows platform to choose whether to bind literals in SQL statements or not. |
boolean |
shouldCreateIndicesForPrimaryKeys()
Used for table creation. |
boolean |
shouldCreateIndicesOnUniqueKeys()
Used for table creation. |
boolean |
shouldPrintInputTokenAtStart()
Used for stored procedure creation: Some platforms want to print prefix for INPUT arguments BEFORE NAME. |
boolean |
shouldPrintOutputTokenAtStart()
This is required in the construction of the stored procedures with output parameters |
boolean |
shouldPrintOutputTokenBeforeType()
This is required in the construction of the stored procedures with output parameters |
boolean |
shouldPrintStoredProcedureArgumentNameInCall()
Symfoware stored procedure calls do not require the argument name be printed in the call string. |
boolean |
shouldPrintStoredProcedureVariablesAfterBeginString()
Used for stored procedure creation: Symfoware declares variables AFTER the procedure body's BEGIN string. |
protected static ExpressionOperator |
singleArgumentSubstring()
Gets the substring of a string starting from the specified start position. |
protected static ExpressionOperator |
substring()
Gets the substring of source bounded by start location to end location. |
boolean |
supportsANSIInnerJoinSyntax()
Indicates whether the ANSI syntax for inner joins (e.g. |
boolean |
supportsForeignKeyConstraints()
Symfoware does not support foreign key constraint syntax, so returns false. |
boolean |
supportsGlobalTempTables()
Indicates whether the platform supports global temporary tables. |
boolean |
supportsIndividualTableLocking()
Indicates whether locking clause could be selectively applied only to some tables in a ReadQuery. |
boolean |
supportsLockingQueriesWithMultipleTables()
Indicates whether locking clause could be applied to the query that has more than one table. |
boolean |
supportsSequenceObjects()
Indicates whether the platform supports sequence objects. |
boolean |
supportsStoredFunctions()
Indicates whether the platform supports stored functions. |
boolean |
supportsUniqueKeyConstraints()
Symfoware supports unique key constraints, so returns true. |
protected static ExpressionOperator |
toDate()
Converts the character value expression of the conversion source to the DATE type in accordance. |
protected static ExpressionOperator |
toNumber()
Returns the number converted from the string. |
protected static ExpressionOperator |
truncateDate()
Truncates a date by using the truncating unit. |
boolean |
wasFailureCommunicationBased(java.sql.SQLException exception,
java.sql.Connection connection,
org.eclipse.persistence.internal.sessions.AbstractSession sessionForProfile)
Fail-over is not implemented on platform. |
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform |
---|
addBatch, addStructConverter, allowsSizeInProcedureArguments, appendBoolean, appendByteArray, appendLiteralToCall, appendLiteralToCallWithBinding, appendNumber, appendParameter, appendParameterInternal, appendString, autoCommit, beginTransaction, buildBatchCriteria, buildBatchCriteriaForComplexId, buildCallWithReturning, buildCreateIndex, buildDropIndex, buildProcedureCallString, buildSequenceObjectAlterIncrementWriter, buildSequenceObjectCreationWriter, buildSequenceObjectDeletionWriter, canBatchWriteWithOptimisticLocking, canBuildCallWithReturning, commitTransaction, convertToDatabaseType, copyInto, createArray, createArray, createPlatformDefaultSequence, createStruct, createStruct, dontBindUpdateAllQueryUsingTempTables, executeBatch, executeStoredProcedure, freeTemporaryObject, getAssignmentString, getBatchBeginString, getBatchDelimiterString, getBatchEndString, getCastSizeForVarcharParameter, getClassTypes, getConnection, getConstraintDeletionString, getCreateTempTableSqlBodyForTable, getCreateViewString, getCreationInOutputProcedureToken, getCreationOutputProcedureToken, getCursorCode, getCustomModifyValueForCall, getFieldTypeDefinition, getFieldTypes, getFunctionCallHeader, getIdentifierQuoteCharacter, getJDBCOuterJoinString, getJDBCType, getJDBCType, getJDBCTypeForSetNull, getJdbcTypeName, getMaxBatchWritingSize, getMaxForeignKeyNameSize, getMaxIndexNameSize, getMaxUniqueKeyNameSize, getNoWaitString, getObjectFromResultSet, getOutputProcedureToken, getPartitioningCallback, getPingSQL, getProcedureArgumentSetter, getProcedureArgumentString, getQualifiedName, getQualifiedSequenceTableName, getRefValue, getRefValue, getSelectForUpdateNoWaitString, getSelectForUpdateOfString, getSelectForUpdateWaitString, getSequenceCounterFieldName, getSequenceNameFieldName, getSequencePreallocationSize, getSequenceTableName, getStatementCacheSize, getStoredProcedureParameterPrefix, getStoredProcedureTerminationToken, getStringBindingSize, getStructConverters, getTableCreationSuffix, getTempTableForTable, getTransactionIsolation, getTypeConverters, getVPDClearIdentifierQuery, getVPDCreationFunctionString, getVPDCreationPolicyString, getVPDDeletionString, getVPDSetIdentifierQuery, hasPartitioningCallback, initialize, initializeConnectionData, isAlterSequenceObjectSupported, isCastRequired, isInformixOuterJoin, isLockTimeoutException, isNullAllowedInSelectClause, isXDBDocument, maximumNumericValues, minimumNumericValues, prepareBatchStatement, printFieldIdentityClause, printFieldNotNullClause, printFieldNullClause, printFieldTypeSize, printFieldTypeSize, printFieldUnique, printFieldUnique, printStoredFunctionReturnKeyWord, printValuelist, printValuelist, registerOutputParameter, requiresNamedPrimaryKeyConstraints, requiresProcedureCallBrackets, requiresProcedureCallOuputToken, requiresTableInIndexDropDDL, requiresTypeNameToRegisterOutputParameter, rollbackTransaction, setCastSizeForVarcharParameter, setClassTypes, setCursorCode, setFieldTypes, setIsCastRequired, setMaxBatchWritingSize, setNullFromDatabaseField, setParameterValueInDatabaseCall, setPartitioningCallback, setPingSQL, setPrintInnerJoinInWhereClause, setPrintOuterJoinInWhereClause, setSequenceCounterFieldName, setSequenceNameFieldName, setSequenceTableName, setShouldBindAllParameters, setShouldBindLiterals, setShouldCacheAllStatements, setShouldForceFieldNamesToUpperCase, setShouldIgnoreCaseOnFieldComparisons, setShouldOptimizeDataConversion, setShouldTrimStrings, setShouldUseRownumFiltering, setStatementCacheSize, setStringBindingSize, setSupportsAutoCommit, setTableCreationSuffix, setTransactionIsolation, setUsesBatchWriting, setUsesByteArrayBinding, setUsesJDBCBatchWriting, setUsesNativeBatchWriting, setUsesNativeSQL, setUsesStreamsForBinding, setUsesStringBinding, shouldBindAllParameters, shouldCacheAllStatements, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldIgnoreException, shouldOptimizeDataConversion, shouldPrintAliasForUpdate, shouldPrintConstraintNameAfter, shouldPrintFieldIdentityClause, shouldPrintInnerJoinInWhereClause, shouldPrintInOutputTokenBeforeType, shouldPrintLockingClauseAfterWhereClause, shouldPrintOuterJoinInWhereClause, shouldTempTableSpecifyPrimaryKeys, shouldTrimStrings, shouldUseCustomModifyForCall, shouldUseJDBCOuterJoinSyntax, shouldUseRownumFiltering, supportsAutoCommit, supportsAutoConversionToNumericForArithmeticOperations, supportsCountDistinctWithMultipleFields, supportsDeleteOnCascade, supportsIndexes, supportsLocalTempTables, supportsNestingOuterJoins, supportsOuterJoinsWithBrackets, supportsPrimaryKeyConstraint, supportsTempTables, supportsUniqueColumns, supportsVPD, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeBatchWriting, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding, writeAutoAssignmentSetClause, writeAutoJoinWhereClause, writeCleanUpTempTableSql, writeCreateTempTableSql, writeDeleteFromTargetTableUsingTempTableSql, writeFields, writeFieldsAutoClause, writeFieldsList, writeInsertIntoTableSql, writeJoinWhereClause, writeLOB, writeParameterMarker, writeTableCreationSuffix, writeUpdateOriginalFromTempTableSql |
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform |
---|
addOperator, addSequence, addSequence, buildNativeCall, buildSelectQueryForIdentity, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, clone, convertObject, createConnectionCustomizer, getConversionManager, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getDefaultSequenceToWrite, getEndDelimiter, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getUpdateSequenceQuery, hasDefaultSequence, initializeDefaultQueries, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isFirebird, isH2, isHSQL, isInformix, isMaxDB, isMySQL, isODBC, isOracle, isOracle9, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldNativeSequenceUseTransaction, shouldPrepare, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, supportsIdentity, supportsNativeSequenceNumbers, toString, usesPlatformDefaultSequence |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SymfowarePlatform()
Method Detail |
---|
protected void appendDate(java.sql.Date date, java.io.Writer writer) throws java.io.IOException
appendDate
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
java.io.IOException
protected void appendTime(java.sql.Time time, java.io.Writer writer) throws java.io.IOException
appendTime
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
java.io.IOException
protected void appendTimestamp(java.sql.Timestamp timestamp, java.io.Writer writer) throws java.io.IOException
appendTimestamp
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
java.io.IOException
protected void appendCalendar(java.util.Calendar calendar, java.io.Writer writer) throws java.io.IOException
appendCalendar
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
java.io.IOException
protected java.util.Hashtable<java.lang.Class<?>,org.eclipse.persistence.internal.databaseaccess.FieldTypeDefinition> buildFieldTypes()
buildFieldTypes
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
protected java.util.Map<java.lang.String,java.lang.Class> buildClassTypes()
buildClassTypes
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
protected void initializePlatformOperators()
initializePlatformOperators
in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
protected void addNonBindingOperator(ExpressionOperator operator)
DatasourcePlatform.addOperator(ExpressionOperator)
,
ExpressionOperator.setIsBindingSupported(boolean)
public boolean isDynamicSQLRequiredForFunctions()
isDynamicSQLRequiredForFunctions
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean isForUpdateCompatibleWithDistinct()
isForUpdateCompatibleWithDistinct
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean isSymfoware()
isSymfoware
in interface org.eclipse.persistence.internal.databaseaccess.Platform
isSymfoware
in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
protected static ExpressionOperator length()
protected static ExpressionOperator charLength()
protected static ExpressionOperator locate()
protected static ExpressionOperator locate2()
protected static ExpressionOperator logOperator()
protected static ExpressionOperator leftTrim()
protected static ExpressionOperator leftTrim2()
protected static ExpressionOperator mod()
protected static ExpressionOperator rightTrim()
protected static ExpressionOperator rightTrim2()
protected static ExpressionOperator substring()
protected static ExpressionOperator singleArgumentSubstring()
protected static ExpressionOperator toNumber()
protected static ExpressionOperator instring()
protected static ExpressionOperator monthsBetween()
protected static ExpressionOperator roundDate()
protected static ExpressionOperator toDate()
protected static ExpressionOperator addDate()
protected static ExpressionOperator truncateDate()
protected static ExpressionOperator nvl()
protected static ExpressionOperator greatest()
protected static ExpressionOperator least()
public int computeMaxRowsForSQL(int firstResultIndex, int maxResults)
1. MaxRows is the index of the last row to be returned (like JDBC maxResults) 2. MaxRows is the number of rows to be returnedSymfoware uses case #2 and therefore the maxResults has to be altered based on the firstResultIndex.
computeMaxRowsForSQL
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public ValueReadQuery buildSelectQueryForSequenceObject(java.lang.String seqName, java.lang.Integer size)
buildSelectQueryForSequenceObject
in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
seqName
- known by Symfoware to be a defined sequencesize
- size of sequence
public java.lang.String buildCreateIndex(java.lang.String fullTableName, java.lang.String indexName, java.lang.String qualifier, boolean isUnique, java.lang.String... columnNames)
buildCreateIndex
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
fullTableName
- qualified name of the table the index is to be created onindexName
- name of the indexqualifier
- qualifier to construct qualified name of index if neededisUnique
- Indicates whether uniqe index is createdcolumnNames
- one or more columns the index is created forpublic java.lang.String buildDropIndex(java.lang.String fullTableName, java.lang.String indexName, java.lang.String qualifier)
buildDropIndex
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
fullTableName
- qualified name of the table the index is to be created onindexName
- name of the indexqualifier
- qualifier to construct qualified name of index if neededpublic java.lang.String getCreateTempTableSqlPrefix()
getCreateTempTableSqlPrefix
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
shouldAlwaysUseTempStorageForModifyAll()
protected java.lang.String getCreateTempTableSqlSuffix()
getCreateTempTableSqlSuffix
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getDefaultSequenceTableName()
getDefaultSequenceTableName
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getIndexNamePrefix(boolean isUniqueSetOnField)
getIndexNamePrefix
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
isUniqueField
-
public java.lang.String getInOutputProcedureToken()
getInOutputProcedureToken
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getInputProcedureToken()
getInputProcedureToken
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public int getMaxFieldNameSize()
getMaxFieldNameSize
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureAsString()
getProcedureAsString
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureCallHeader()
getProcedureCallHeader
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureCallTail()
getProcedureCallTail
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureBeginString()
getProcedureBeginString
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureEndString()
getProcedureEndString
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public java.lang.String getSelectForUpdateString()
getSelectForUpdateString
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public ValueReadQuery getTimestampQuery()
getTimestampQuery
in interface org.eclipse.persistence.internal.databaseaccess.Platform
getTimestampQuery
in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
public long minimumTimeIncrement()
minimumTimeIncrement
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public void printSQLSelectStatement(org.eclipse.persistence.internal.databaseaccess.DatabaseCall call, org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter printer, org.eclipse.persistence.internal.expressions.SQLSelectStatement statement)
printSQLSelectStatement
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean requiresProcedureBrackets()
requiresProcedureBrackets
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean requiresUniqueConstraintCreationOnTableCreate()
requiresUniqueConstraintCreationOnTableCreate
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public void retrieveFirstPrimaryKeyOrOne(ReportQuery subselect)
retrieveFirstPrimaryKeyOrOne
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
subselect
- SymfowarePlatform
public boolean shouldAlwaysUseTempStorageForModifyAll()
shouldAlwaysUseTempStorageForModifyAll
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldBindLiterals()
shouldBindLiterals
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
isDynamicSQLRequiredForFunctions()
public boolean shouldCreateIndicesForPrimaryKeys()
shouldCreateIndicesForPrimaryKeys
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldCreateIndicesOnUniqueKeys()
shouldCreateIndicesOnUniqueKeys
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldPrintInputTokenAtStart()
shouldPrintInputTokenAtStart
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldPrintOutputTokenBeforeType()
shouldPrintOutputTokenBeforeType
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldPrintOutputTokenAtStart()
shouldPrintOutputTokenAtStart
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldPrintStoredProcedureArgumentNameInCall()
shouldPrintStoredProcedureArgumentNameInCall
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean shouldPrintStoredProcedureVariablesAfterBeginString()
shouldPrintStoredProcedureVariablesAfterBeginString
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsANSIInnerJoinSyntax()
supportsANSIInnerJoinSyntax
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsForeignKeyConstraints()
supportsForeignKeyConstraints
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsGlobalTempTables()
supportsGlobalTempTables
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
shouldAlwaysUseTempStorageForModifyAll()
public boolean supportsIndividualTableLocking()
supportsIndividualTableLocking
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsLockingQueriesWithMultipleTables()
supportsLockingQueriesWithMultipleTables
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsSequenceObjects()
supportsSequenceObjects
in class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
public boolean supportsStoredFunctions()
supportsStoredFunctions
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
public boolean supportsUniqueKeyConstraints()
supportsUniqueKeyConstraints
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
requiresUniqueConstraintCreationOnTableCreate()
public boolean wasFailureCommunicationBased(java.sql.SQLException exception, java.sql.Connection connection, org.eclipse.persistence.internal.sessions.AbstractSession sessionForProfile)
wasFailureCommunicationBased
in class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |