|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.internal.databaseaccess.DatasourcePlatform oracle.toplink.internal.databaseaccess.DatabasePlatform oracle.toplink.platform.database.DatabasePlatform oracle.toplink.platform.database.oracle.OraclePlatform
public class OraclePlatform
Purpose: Provides Oracle specific behaviour.
Responsibilities:
Field Summary |
---|
Fields inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform |
---|
DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE |
Constructor Summary | |
---|---|
OraclePlatform()
|
Method Summary | |
---|---|
boolean |
allowsSizeInProcedureArguments()
Used for sp defs. |
java.lang.String |
getBatchBeginString()
Used for batch writing and sp defs. |
java.lang.String |
getBatchEndString()
Used for batch writing and sp defs. |
java.util.Vector |
getNativeTableInfo(java.lang.String table,
java.lang.String creator,
oracle.toplink.internal.sessions.AbstractSession session)
Return the catalog information through using the native SQL catalog selects. |
java.lang.String |
getProcedureArgumentSetter()
Used for sp calls. |
java.lang.String |
getProcedureCallHeader()
Used for sp calls. |
java.lang.String |
getProcedureCallTail()
Used for sp calls. |
java.lang.String |
getSelectForUpdateString()
Most database support a syntax. although don't actually lock the row. |
java.lang.String |
getStoredProcedureParameterPrefix()
|
java.lang.String |
getStoredProcedureTerminationToken()
|
ValueReadQuery |
getSystemChangeNumberQuery()
The query to select the current system change number from Oracle. |
ValueReadQuery |
getTimestampQuery()
This method returns the query to select the timestamp from the server for Oracle. |
boolean |
isOracle()
|
java.util.Hashtable |
maximumNumericValues()
Builds a table of maximum numeric values keyed on java class. |
java.util.Hashtable |
minimumNumericValues()
Builds a table of minimum numeric values keyed on java class. |
java.lang.String |
serverTimestampString()
Return the current date and time from the server. |
void |
setShouldUseRownumFiltering(boolean useRownumFiltering)
Set if Oracle ROWNUM pagination should be used for FirstResult and MaxRows settings. |
void |
setSupportsIdentity(boolean supportsIdentity)
ADVANCED: Oracle db doesn't support identity. |
boolean |
shouldPrintOuterJoinInWhereClause()
Some database require outer joins to be given in the where clause, others require it in the from clause. |
boolean |
shouldUseJDBCOuterJoinSyntax()
JDBC defines and outer join syntax, many drivers do not support this. |
boolean |
shouldUseRownumFiltering()
Return if Oracle ROWNUM pagination should be used for FirstResult and MaxRows settings. |
boolean |
supportsSelectForUpdateNoWait()
Returns true if the database supports SQL syntax not to wait on a SELECT..FOR UPADTE (i.e. |
Methods inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform |
---|
addStructConverter, appendParameter, appendParameterInternal, autoCommit, beginTransaction, buildProcedureCallString, commitTransaction, copyInto, executeBatch, executeStoredProcedure, getBatchDelimiterString, getClassTypes, getConstraintDeletionString, getCreateViewString, getCreationInOutputProcedureToken, getCreationOutputProcedureToken, getCursorCode, getCustomModifyValueForCall, getFieldTypeDefinition, getFieldTypes, getFunctionCallHeader, getInOutputProcedureToken, getJDBCOuterJoinString, getJDBCType, getJDBCType, getMaxBatchWritingSize, getNoWaitString, getOutputProcedureToken, getPingSQL, getProcedureArgumentString, getProcedureAsString, getProcedureBeginString, getProcedureEndString, getQualifiedSequenceTableName, getSelectForUpdateNoWaitString, getSelectForUpdateOfString, getSequenceCounterFieldName, getSequenceNameFieldName, getSequencePreallocationSize, getSequenceTableName, getStatementCacheSize, getStringBindingSize, getTransactionIsolation, isInformixOuterJoin, prepareBatchStatement, printFieldIdentityClause, printFieldNotNullClause, printFieldTypeSize, printFieldUnique, printValuelist, printValuelist, registerOutputParameter, requiresNamedPrimaryKeyConstraints, requiresProcedureCallBrackets, requiresProcedureCallOuputToken, rollbackTransaction, setCursorCode, setMaxBatchWritingSize, setPingSQL, setSequenceCounterFieldName, setSequenceNameFieldName, setSequenceTableName, setShouldBindAllParameters, setShouldCacheAllStatements, setShouldForceFieldNamesToUpperCase, setShouldIgnoreCaseOnFieldComparisons, setShouldOptimizeDataConversion, setShouldTrimStrings, setStatementCacheSize, setStringBindingSize, setSupportsAutoCommit, setTransactionIsolation, setUsesBatchWriting, setUsesByteArrayBinding, setUsesJDBCBatchWriting, setUsesNativeBatchWriting, setUsesNativeSQL, setUsesStreamsForBinding, setUsesStringBinding, shouldBindAllParameters, shouldCacheAllStatements, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldIgnoreException, shouldOptimizeDataConversion, shouldPrintConstraintNameAfter, shouldPrintFieldIdentityClause, shouldPrintInOutputTokenBeforeType, shouldPrintOutputTokenAtStart, shouldPrintOutputTokenBeforeType, shouldTrimStrings, shouldUseCustomModifyForCall, supportsAutoCommit, supportsForeignKeyConstraints, supportsNativeSequenceNumbers, supportsPrimaryKeyConstraint, supportsUniqueKeyConstraints, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeBatchWriting, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding, writeParameterMarker |
Methods inherited from class oracle.toplink.internal.databaseaccess.DatasourcePlatform |
---|
addSequence, clone, convertObject, getConversionManager, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getTableQualifier, getTimestampFromServer, getUpdateSequenceQuery, hasDefaultSequence, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isHSQL, isInformix, isMySQL, isODBC, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, setConversionManager, setDefaultSequence, setSelectSequenceNumberQuery, setSequencePreallocationSize, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OraclePlatform()
Method Detail |
---|
public boolean allowsSizeInProcedureArguments()
allowsSizeInProcedureArguments
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getBatchBeginString()
getBatchBeginString
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getBatchEndString()
getBatchEndString
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.util.Vector getNativeTableInfo(java.lang.String table, java.lang.String creator, oracle.toplink.internal.sessions.AbstractSession session)
public java.lang.String getProcedureArgumentSetter()
getProcedureArgumentSetter
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureCallHeader()
getProcedureCallHeader
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getProcedureCallTail()
getProcedureCallTail
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getSelectForUpdateString()
getSelectForUpdateString
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getStoredProcedureParameterPrefix()
getStoredProcedureParameterPrefix
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String getStoredProcedureTerminationToken()
getStoredProcedureTerminationToken
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public ValueReadQuery getSystemChangeNumberQuery()
public ValueReadQuery getTimestampQuery()
getTimestampQuery
in interface oracle.toplink.internal.databaseaccess.Platform
getTimestampQuery
in class oracle.toplink.internal.databaseaccess.DatasourcePlatform
public boolean isOracle()
isOracle
in interface oracle.toplink.internal.databaseaccess.Platform
isOracle
in class oracle.toplink.internal.databaseaccess.DatasourcePlatform
public java.util.Hashtable maximumNumericValues()
NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale
maximumNumericValues
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.util.Hashtable minimumNumericValues()
NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale
minimumNumericValues
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public java.lang.String serverTimestampString()
public void setShouldUseRownumFiltering(boolean useRownumFiltering)
public boolean shouldPrintOuterJoinInWhereClause()
shouldPrintOuterJoinInWhereClause
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public boolean shouldUseJDBCOuterJoinSyntax()
shouldUseJDBCOuterJoinSyntax
in class oracle.toplink.internal.databaseaccess.DatabasePlatform
public boolean shouldUseRownumFiltering()
public void setSupportsIdentity(boolean supportsIdentity)
public boolean supportsSelectForUpdateNoWait()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |