- java.lang.Object
-
- org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
-
- org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
-
- org.eclipse.persistence.platform.database.DatabasePlatform
-
- org.eclipse.persistence.platform.database.SybasePlatform
-
- org.eclipse.persistence.platform.database.SQLAnywherePlatform
-
- All Implemented Interfaces:
Serializable,Cloneable,org.eclipse.persistence.internal.core.databaseaccess.CorePlatform<org.eclipse.persistence.internal.helper.ConversionManager>,org.eclipse.persistence.internal.databaseaccess.Platform,DDLPlatform
public class SQLAnywherePlatform extends SybasePlatform
Provides SQL Anywhere specific behaviour.- See Also:
- Serialized Form
- Author:
- Markus KARG (markus-karg@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.platform.database.SybasePlatform
typeStrings
-
Fields inherited from class org.eclipse.persistence.platform.database.DatabasePlatform
DEFAULT_VARCHAR_SIZE
-
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
batchWritingMechanism, castSizeForVarcharParameter, classTypes, cursorCode, DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE, driverName, driverSupportsNationalCharacterVarying, fieldTypes, IS_VALID_TIMEOUT, isCastRequired, maxBatchWritingSize, partitioningCallback, pingSQL, printInnerJoinInWhereClause, printOuterJoinInWhereClause, shouldBindAllParameters, shouldBindLiterals, shouldBindPartialParameters, shouldCacheAllStatements, shouldCreateIndicesOnForeignKeys, shouldForceBindAllParameters, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldOptimizeDataConversion, shouldTrimStrings, statementCacheSize, storedProcedureTerminationToken, stringBindingSize, structConverters, supportsAutoCommit, tableCreationSuffix, transactionIsolation, typeConverters, useJDBCStoredProcedureSyntax, useNationalCharacterVarying, useRownumFiltering, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeBatchWriting, usesNativeSQL, usesStreamsForBinding, usesStringBinding
-
Fields inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
conversionManager, dataTypesConvertedFromAClass, dataTypesConvertedToAClass, defaultNativeSequenceToTable, defaultSeqenceAtNextValue, defaultSequence, endDelimiter, platformOperators, sequences, sequencesLock, startDelimiter, supportsReturnGeneratedKeys, tableQualifier, timestampQuery, uuidQuery
-
Fields inherited from interface org.eclipse.persistence.tools.schemaframework.DDLPlatform
CLASS_TYPES, DB_TYPES, TYPE_BIG_DECIMAL, TYPE_BIG_INTEGER, TYPE_BLOB, TYPE_BOOLEAN, TYPE_BYTE, TYPE_CHAR, TYPE_CLOB, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_SHORT, TYPE_TIME, TYPE_TIMESTAMP, TYPE_VARCHAR
-
-
Constructor Summary
Constructors Constructor Description SQLAnywherePlatform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Hashtable<Class<?>,org.eclipse.persistence.internal.databaseaccess.FieldTypeDefinition>buildFieldTypes()Return the mapping of class types to database types for the schema framework.ValueReadQuerybuildSelectQueryForIdentity()INTERNAL: Build the identity query for native sequencing.static ExpressionOperatorcreateConcatOperator()static ExpressionOperatorcreateCurrentDateOperator()static ExpressionOperatorcreateCurrentTimeOperator()static ExpressionOperatorcreateLocate2Operator()static ExpressionOperatorcreateLocateOperator()StringgetBatchBeginString()Used for batch writing and sp defs.StringgetBatchDelimiterString()Used for batch writing and sp defs.StringgetBatchEndString()Used for batch writing and sp defs.protected StringgetCreateTempTableSqlPrefix()INTERNAL:StringgetCreationOutputProcedureToken()This method is used to print the required output parameter token for the specific platform.StringgetInOutputProcedureToken()This method is used to print the output parameter token when stored procedures are calledStringgetInputProcedureToken()Used for stored procedure creation: Prefix for INPUT parameters.intgetMaxFieldNameSize()INTERNAL: returns the maximum number of characters that can be used in a field name on this platform.StringgetOutputProcedureToken()This method is used to print the output parameter token when stored procedures are calledStringgetProcedureArgumentString()Used for sp defs.StringgetProcedureAsString()Used for stored procedure defs.StringgetProcedureBeginString()Used for stored procedure defs.StringgetProcedureCallHeader()Used for sp calls.StringgetProcedureEndString()Used for stored procedure defs.StringgetStoredProcedureParameterPrefix()org.eclipse.persistence.internal.helper.DatabaseTablegetTempTableForTable(org.eclipse.persistence.internal.helper.DatabaseTable table)Used for sp calls.protected voidinitializePlatformOperators()Initialize any platform-specific operatorsbooleanisSQLAnywhere()booleanisSybase()voidprintFieldIdentityClause(Writer writer)Append the receiver's field 'identity' constraint clause to a writer.voidprintFieldNullClause(Writer writer)Append the receiver's field 'NULL' constraint clause to a writer.booleanrequiresProcedureBrackets()Used for stored procedure creation: Some platforms need brackets around arguments declaration even if no arguments exist.booleanrequiresProcedureCallBrackets()USed for sp calls.booleanrequiresTypeNameToRegisterOutputParameter()INTERNAL: Indicates whether the version of CallableStatement.registerOutputParameter method that takes type name should be used.booleanshouldPrintInOutputTokenBeforeType()This is required in the construction of the stored procedures with output parametersbooleanshouldPrintInputTokenAtStart()Used for stored procedure creation: Some platforms want to print prefix for INPUT arguments BEFORE NAME.booleanshouldPrintOutputTokenAtStart()This is required in the construction of the stored procedures with output parametersbooleanshouldPrintOutputTokenBeforeType()This is required in the construction of the stored procedures with output parametersbooleanshouldPrintStoredProcedureArgumentNameInCall()INTERNAL: Should the variable name of a stored procedure call be printed as part of the procedure call e.g.booleanshouldPrintStoredProcedureVariablesAfterBeginString()Used for stored procedure creation: Some platforms declare variables AFTER the procedure body's BEGIN string.booleansupportsDeleteOnCascade()SQL Anywhere does support cascade on delete, unlike Sybase.booleansupportsIdentity()INTERNAL: Indicates whether the platform supports identity.booleansupportsLocalTempTables()INTERNAL: Indicates whether the platform supports local temporary tables.booleansupportsStoredFunctions()-
Methods inherited from class org.eclipse.persistence.platform.database.SybasePlatform
appendByteArray, appendCalendar, appendDate, appendSybaseCalendar, appendSybaseTimestamp, appendTime, appendTimestamp, extractOperator, getCreationInOutputProcedureToken, getJDBCType, getJdbcTypeName, getNativeTableInfo, getProcedureCallTail, getSelectForUpdateString, getTimestampQuery, getTypeStrings, initializeConnectionData, initializeTypeStrings, isOutputAllowWithResultSet, maximumNumericValues, minimumNumericValues, modOperator, operatorOuterJoin, registerOutputParameter, registerOutputParameter, requiresProcedureCallOuputToken, shouldPrintLockingClauseAfterWhereClause, shouldUseJDBCOuterJoinSyntax, singleArgumentSubstringOperator, supportsGlobalTempTables, sybaseAddMonthsOperator, sybaseInStringOperator, sybaseLocate2Operator, sybaseLocateOperator, sybaseToCharOperator, sybaseToCharWithFormatOperator, sybaseToDateOperator, sybaseToDateToStringOperator, sybaseToNumberOperator, trim2Operator, trimOperator, useJDBCStoredProcedureSyntax, writeUpdateOriginalFromTempTableSql
-
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatabasePlatform
addBatch, addStructConverter, allowBindingForSelectClause, appendBoolean, appendLiteralToCall, appendLiteralToCallWithBinding, appendNumber, appendParameter, appendParameterInternal, appendString, autoCommit, beginTransaction, buildBatchCriteria, buildBatchCriteriaForComplexId, buildCallWithReturning, buildClassTypes, buildCreateIndex, buildDropIndex, buildProcedureCallString, canBatchWriteWithOptimisticLocking, canBuildCallWithReturning, checkSequenceExists, checkTableExists, commitTransaction, computeMaxRowsForSQL, convertToDatabaseType, copyInto, createArray, createArray, createPlatformDefaultSequence, createStruct, createStruct, createStruct, dontBindUpdateAllQueryUsingTempTables, executeBatch, executeStoredProcedure, freeTemporaryObject, getAssignmentString, getBatchRowCountAssignString, getBatchRowCountDeclareString, getBatchRowCountReturnString, getBatchWritingMechanism, getCastSizeForVarcharParameter, getClassTypes, getConnection, getConnectionUserName, getConstraintDeletionString, getCreateTempTableSqlBodyForTable, getCreateTempTableSqlSuffix, getCursorCode, getCustomModifyValueForCall, getDatabaseType, getDatabaseType, getDefaultSequenceTableName, getDriverSupportsNVarChar, getFieldTypeDefinition, getFieldTypes, getFunctionCallHeader, getJDBCOuterJoinString, getJDBCType, getJDBCTypeForSetNull, getJsonPlatform, getMaxBatchWritingSize, getNoWaitString, getObjectFromResultSet, getParameterValueFromDatabaseCall, getParameterValueFromDatabaseCall, getPartitioningCallback, getPingSQL, getProcedureArgument, getQualifiedName, getQualifiedSequenceTableName, getRefValue, getRefValue, getSelectForUpdateNoWaitString, getSelectForUpdateOfString, getSelectForUpdateWaitString, getSequenceCounterFieldName, getSequenceNameFieldName, getSequencePreallocationSize, getSequenceTableName, getStatementCacheSize, getStoredProcedureTerminationToken, getStringBindingSize, getStructConverters, getTableCreationSuffix, getTableExistsQuery, getTransactionIsolation, getTypeConverters, getUniqueConstraintDeletionString, getUseNationalCharacterVaryingTypeForString, getVPDClearIdentifierQuery, getVPDCreationFunctionString, getVPDCreationPolicyString, getVPDDeletionString, getVPDSetIdentifierQuery, hasPartitioningCallback, initialize, isCastRequired, isDynamicSQLRequiredForFunctions, isForUpdateCompatibleWithDistinct, isInformixOuterJoin, isJDBCExecuteCompliant, isLobCompatibleWithDistinct, isLockTimeoutException, isNullAllowedInSelectClause, isRowCountOutputParameterRequired, isXDBDocument, minimumTimeIncrement, prepareBatchStatement, printFieldTypeSize, printFieldTypeSize, printFieldUnique, printSQLSelectStatement, printStoredFunctionReturnKeyWord, printValuelist, printValuelist, registerOutputParameter, registerOutputParameter, retrieveFirstPrimaryKeyOrOne, rollbackTransaction, setBatchWritingMechanism, setCastSizeForVarcharParameter, setClassTypes, setCursorCode, setDriverName, setDriverSupportsNVarChar, setFieldTypes, setIsCastRequired, setMaxBatchWritingSize, setNullFromDatabaseField, setNullFromDatabaseField, setParameterValueInDatabaseCall, setParameterValueInDatabaseCall, setPartitioningCallback, setPingSQL, setPrintInnerJoinInWhereClause, setPrintOuterJoinInWhereClause, setSequenceCounterFieldName, setSequenceNameFieldName, setSequenceTableName, setShouldBindAllParameters, setShouldBindLiterals, setShouldBindPartialParameters, setShouldCacheAllStatements, setShouldCreateIndicesOnForeignKeys, setShouldForceBindAllParameters, setShouldForceFieldNamesToUpperCase, setShouldIgnoreCaseOnFieldComparisons, setShouldOptimizeDataConversion, setShouldTrimStrings, setShouldUseRownumFiltering, setStatementCacheSize, setStoredProcedureTerminationToken, setStringBindingSize, setSupportsAutoCommit, setTableCreationSuffix, setTransactionIsolation, setUseJDBCStoredProcedureSyntax, setUseNationalCharacterVaryingTypeForString, setUsesBatchWriting, setUsesByteArrayBinding, setUsesJDBCBatchWriting, setUsesNativeBatchWriting, setUsesNativeSQL, setUsesStreamsForBinding, setUsesStringBinding, shouldAlwaysUseTempStorageForModifyAll, shouldBindAllParameters, shouldBindLiterals, shouldBindPartialParameters, shouldCacheAllStatements, shouldCreateIndicesOnForeignKeys, shouldForceBindAllParameters, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldIgnoreException, shouldOptimizeDataConversion, shouldPrintAliasForUpdate, shouldPrintFieldIdentityClause, shouldPrintForUpdateClause, shouldPrintInnerJoinInWhereClause, shouldPrintOuterJoinInWhereClause, shouldTempTableSpecifyPrimaryKeys, shouldTrimStrings, shouldUseCustomModifyForCall, shouldUseGetSetNString, shouldUseRownumFiltering, supportsANSIInnerJoinSyntax, supportsAutoCommit, supportsAutoConversionToNumericForArithmeticOperations, supportsConnectionUserName, supportsCountDistinctWithMultipleFields, supportsIndividualTableLocking, supportsLockingQueriesWithMultipleTables, supportsNestingOuterJoins, supportsOrderByParameters, supportsOuterJoinsWithBrackets, supportsTempTables, supportsVPD, supportsWaitForUpdate, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeBatchWriting, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding, wasFailureCommunicationBased, writeAddColumnClause, writeAutoAssignmentSetClause, writeAutoJoinWhereClause, writeCleanUpTempTableSql, writeCreateTempTableSql, writeDeleteFromTargetTableUsingTempTableSql, writeFields, writeFieldsAutoClause, writeFieldsList, writeInsertIntoTableSql, writeJoinWhereClause, writeLOB, writeParameterMarker
-
Methods inherited from class org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
addOperator, addSequence, addSequence, buildNativeCall, buildSelectQueryForIdentity, buildSelectQueryForSequenceObject, buildSelectQueryForSequenceObject, clone, convertObject, convertObject, createConnectionCustomizer, createExpressionFor, getConversionManager, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultNativeSequenceToTable, getDefaultSeqenceAtNextValue, getDefaultSequence, getDefaultSequenceToWrite, getDriverVersion, getEndDelimiter, getINClauseLimit, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequences, getSequencesToWrite, getStartDelimiter, getTableQualifier, getTimestampFromServer, getUpdateSequenceQuery, getUUIDQuery, hasDefaultSequence, initializeDefaultQueries, initIdentitySequences, isAccess, isAttunity, isCloudscape, isDB2, isDB2Z, isDBase, isDerby, isFirebird, isH2, isHANA, isHSQL, isInformix, isMariaDB, isMaxDB, isMySQL, isODBC, isOracle, isOracle12, isOracle21, isOracle23, isOracle9, isPervasive, isPointBase, isPostgreSQL, isSQLServer, isSymfoware, isTimesTen, isTimesTen7, removeAllSequences, removeIdentitySequences, removeSequence, sequencesAfterCloneCleanup, setConversionManager, setDefaultNativeSequenceToTable, setDefaultSeqenceAtNextValue, setDefaultSequence, setEndDelimiter, setSelectSequenceNumberQuery, setSequencePreallocationSize, setSequences, setStartDelimiter, setSupportsReturnGeneratedKeys, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, setUUIDQuery, shouldNativeSequenceUseTransaction, shouldPrepare, shouldSelectDistinctIncludeOrderBy, shouldSelectIncludeOrderBy, supportsNativeSequenceNumbers, supportsReturnGeneratedKeys, supportsSequenceObjects, toString, usesPlatformDefaultSequence
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.tools.schemaframework.DDLPlatform
allowsSizeInProcedureArguments, buildCreateIndex, buildDropIndex, buildSequenceObjectAlterIncrementWriter, buildSequenceObjectCreationWriter, buildSequenceObjectDeletionWriter, getCreateDatabaseSchemaString, getCreateViewString, getDatabaseTypes, getDropCascadeString, getDropDatabaseSchemaString, getEndDelimiter, getIndexNamePrefix, getJavaTypes, getMaxForeignKeyNameSize, getMaxIndexNameSize, getMaxUniqueKeyNameSize, getProcedureOptionList, getStartDelimiter, isAlterSequenceObjectSupported, printFieldNotNullClause, printFieldTypeSize, printFieldTypeSize, printFieldUnique, requiresNamedPrimaryKeyConstraints, requiresTableInIndexDropDDL, requiresUniqueConstraintCreationOnTableCreate, shouldCreateIndicesForPrimaryKeys, shouldCreateIndicesOnUniqueKeys, shouldPrintConstraintNameAfter, supportsForeignKeyConstraints, supportsIndexes, supportsPrimaryKeyConstraint, supportsUniqueColumns, supportsUniqueKeyConstraints, writeTableCreationSuffix
-
-
-
-
Method Detail
-
buildFieldTypes
protected Hashtable<Class<?>,org.eclipse.persistence.internal.databaseaccess.FieldTypeDefinition> buildFieldTypes()
Description copied from class:org.eclipse.persistence.internal.databaseaccess.DatabasePlatformReturn the mapping of class types to database types for the schema framework.- Overrides:
buildFieldTypesin classSybasePlatform
-
buildSelectQueryForIdentity
public ValueReadQuery buildSelectQueryForIdentity()
INTERNAL: Build the identity query for native sequencing.- Overrides:
buildSelectQueryForIdentityin classSybasePlatform
-
createCurrentDateOperator
public static ExpressionOperator createCurrentDateOperator()
-
createCurrentTimeOperator
public static ExpressionOperator createCurrentTimeOperator()
-
createLocate2Operator
public static ExpressionOperator createLocate2Operator()
-
createConcatOperator
public static ExpressionOperator createConcatOperator()
-
createLocateOperator
public static ExpressionOperator createLocateOperator()
-
getCreateTempTableSqlPrefix
protected String getCreateTempTableSqlPrefix()
Description copied from class:SybasePlatformINTERNAL:- Overrides:
getCreateTempTableSqlPrefixin classSybasePlatform
-
getInputProcedureToken
public String getInputProcedureToken()
Used for stored procedure creation: Prefix for INPUT parameters. Not required on most platforms.
-
getInOutputProcedureToken
public String getInOutputProcedureToken()
Description copied from interface:DDLPlatformThis method is used to print the output parameter token when stored procedures are called- Specified by:
getInOutputProcedureTokenin interfaceDDLPlatform- Overrides:
getInOutputProcedureTokenin classSybasePlatform
-
getCreationOutputProcedureToken
public String getCreationOutputProcedureToken()
Description copied from interface:DDLPlatformThis method is used to print the required output parameter token for the specific platform. Used when stored procedures are created.- Specified by:
getCreationOutputProcedureTokenin interfaceDDLPlatform- Overrides:
getCreationOutputProcedureTokenin classSybasePlatform
-
getOutputProcedureToken
public String getOutputProcedureToken()
Description copied from interface:DDLPlatformThis method is used to print the output parameter token when stored procedures are called- Specified by:
getOutputProcedureTokenin interfaceDDLPlatform- Overrides:
getOutputProcedureTokenin classSybasePlatform
-
getMaxFieldNameSize
public int getMaxFieldNameSize()
Description copied from class:SybasePlatformINTERNAL: returns the maximum number of characters that can be used in a field name on this platform.- Specified by:
getMaxFieldNameSizein interfaceDDLPlatform- Overrides:
getMaxFieldNameSizein classSybasePlatform
-
getProcedureArgumentString
public String getProcedureArgumentString()
Used for sp defs.- Specified by:
getProcedureArgumentStringin interfaceDDLPlatform- Overrides:
getProcedureArgumentStringin classSybasePlatform
-
getStoredProcedureParameterPrefix
public String getStoredProcedureParameterPrefix()
- Overrides:
getStoredProcedureParameterPrefixin classSybasePlatform
-
getProcedureAsString
public String getProcedureAsString()
Description copied from interface:DDLPlatformUsed for stored procedure defs.
-
getProcedureBeginString
public String getProcedureBeginString()
Description copied from interface:DDLPlatformUsed for stored procedure defs.
-
getProcedureEndString
public String getProcedureEndString()
Description copied from interface:DDLPlatformUsed for stored procedure defs.
-
getBatchBeginString
public String getBatchBeginString()
Used for batch writing and sp defs.
-
getBatchEndString
public String getBatchEndString()
Used for batch writing and sp defs.
-
getBatchDelimiterString
public String getBatchDelimiterString()
Used for batch writing and sp defs.- Specified by:
getBatchDelimiterStringin interfaceDDLPlatform- Overrides:
getBatchDelimiterStringin classSybasePlatform
-
getProcedureCallHeader
public String getProcedureCallHeader()
Used for sp calls.- Overrides:
getProcedureCallHeaderin classSybasePlatform
-
getTempTableForTable
public org.eclipse.persistence.internal.helper.DatabaseTable getTempTableForTable(org.eclipse.persistence.internal.helper.DatabaseTable table)
Used for sp calls.- Overrides:
getTempTableForTablein classSybasePlatform- Parameters:
table- is original table for which temp table is created.- Returns:
- temporary table
-
initializePlatformOperators
protected void initializePlatformOperators()
Description copied from class:SybasePlatformInitialize any platform-specific operators- Overrides:
initializePlatformOperatorsin classSybasePlatform
-
isSQLAnywhere
public boolean isSQLAnywhere()
- Specified by:
isSQLAnywherein interfaceorg.eclipse.persistence.internal.databaseaccess.Platform- Overrides:
isSQLAnywherein classorg.eclipse.persistence.internal.databaseaccess.DatasourcePlatform
-
isSybase
public boolean isSybase()
- Specified by:
isSybasein interfaceorg.eclipse.persistence.internal.databaseaccess.Platform- Overrides:
isSybasein classSybasePlatform
-
requiresProcedureBrackets
public boolean requiresProcedureBrackets()
Description copied from interface:DDLPlatformUsed for stored procedure creation: Some platforms need brackets around arguments declaration even if no arguments exist. Those platform will override this and return true. All other platforms will omit the brackets in this case.
-
requiresProcedureCallBrackets
public boolean requiresProcedureCallBrackets()
Description copied from class:SybasePlatformUSed for sp calls.- Overrides:
requiresProcedureCallBracketsin classSybasePlatform
-
requiresTypeNameToRegisterOutputParameter
public boolean requiresTypeNameToRegisterOutputParameter()
INTERNAL: Indicates whether the version of CallableStatement.registerOutputParameter method that takes type name should be used.- Overrides:
requiresTypeNameToRegisterOutputParameterin classSybasePlatform
-
printFieldIdentityClause
public void printFieldIdentityClause(Writer writer) throws ValidationException
Description copied from class:SybasePlatformAppend the receiver's field 'identity' constraint clause to a writer.- Specified by:
printFieldIdentityClausein interfaceDDLPlatform- Overrides:
printFieldIdentityClausein classSybasePlatform- Parameters:
writer- the writer to append to- Throws:
ValidationException
-
printFieldNullClause
public void printFieldNullClause(Writer writer) throws ValidationException
Description copied from class:SybasePlatformAppend the receiver's field 'NULL' constraint clause to a writer.- Specified by:
printFieldNullClausein interfaceDDLPlatform- Overrides:
printFieldNullClausein classSybasePlatform- Parameters:
writer- the writer to append to- Throws:
ValidationException
-
shouldPrintInputTokenAtStart
public boolean shouldPrintInputTokenAtStart()
Description copied from interface:DDLPlatformUsed for stored procedure creation: Some platforms want to print prefix for INPUT arguments BEFORE NAME. If wanted, override and return true.
-
shouldPrintInOutputTokenBeforeType
public boolean shouldPrintInOutputTokenBeforeType()
Description copied from class:org.eclipse.persistence.internal.databaseaccess.DatabasePlatformThis is required in the construction of the stored procedures with output parameters- Overrides:
shouldPrintInOutputTokenBeforeTypein classSybasePlatform
-
shouldPrintOutputTokenAtStart
public boolean shouldPrintOutputTokenAtStart()
Description copied from interface:DDLPlatformThis is required in the construction of the stored procedures with output parameters
-
shouldPrintOutputTokenBeforeType
public boolean shouldPrintOutputTokenBeforeType()
Description copied from interface:DDLPlatformThis is required in the construction of the stored procedures with output parameters- Specified by:
shouldPrintOutputTokenBeforeTypein interfaceDDLPlatform- Overrides:
shouldPrintOutputTokenBeforeTypein classSybasePlatform
-
shouldPrintStoredProcedureArgumentNameInCall
public boolean shouldPrintStoredProcedureArgumentNameInCall()
Description copied from class:org.eclipse.persistence.internal.databaseaccess.DatabasePlatformINTERNAL: Should the variable name of a stored procedure call be printed as part of the procedure call e.g. EXECUTE PROCEDURE MyStoredProc(myvariable = ?)- Overrides:
shouldPrintStoredProcedureArgumentNameInCallin classorg.eclipse.persistence.internal.databaseaccess.DatabasePlatform
-
shouldPrintStoredProcedureVariablesAfterBeginString
public boolean shouldPrintStoredProcedureVariablesAfterBeginString()
Description copied from interface:DDLPlatformUsed for stored procedure creation: Some platforms declare variables AFTER the procedure body's BEGIN string. These need to override and return true. All others will print the variable declaration BEFORE the body's BEGIN string.
-
supportsIdentity
public boolean supportsIdentity()
Description copied from class:SybasePlatformINTERNAL: Indicates whether the platform supports identity. Sybase does through IDENTITY field types. This method is to be used *ONLY* by sequencing classes- Overrides:
supportsIdentityin classSybasePlatform
-
supportsLocalTempTables
public boolean supportsLocalTempTables()
Description copied from class:org.eclipse.persistence.internal.databaseaccess.DatabasePlatformINTERNAL: Indicates whether the platform supports local temporary tables. "Local" means that several threads may create temporary tables with the same name. Local temporary table is created in the beginning of UpdateAllQuery execution and dropped in the end of it. Override this method if the platform supports local temporary tables.- Overrides:
supportsLocalTempTablesin classorg.eclipse.persistence.internal.databaseaccess.DatabasePlatform
-
supportsStoredFunctions
public boolean supportsStoredFunctions()
-
supportsDeleteOnCascade
public boolean supportsDeleteOnCascade()
SQL Anywhere does support cascade on delete, unlike Sybase.- Specified by:
supportsDeleteOnCascadein interfaceDDLPlatform- Overrides:
supportsDeleteOnCascadein classSybasePlatform
-
-