Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.oraclespecific
Class Oracle8Platform

java.lang.Object
  extended byoracle.toplink.internal.databaseaccess.DatabasePlatform
      extended byoracle.toplink.internal.databaseaccess.OraclePlatform
          extended byoracle.toplink.oraclespecific.Oracle8Platform

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
Oracle8Platform, Oracle9Platform

public class Oracle8Platform
extends OraclePlatform

Purpose: Supports printing of new Oracle 8 data types, Oracle JDBC specific.

See Also:
Serialized Form

Field Summary

Fields inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform
DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE

Constructor Summary
Oracle8Platform()

Method Summary
int getLobValueLimits()
PUBLIC: Return the BLOB/CLOB value limits on thin driver.
void setLobValueLimits(int lobValueLimits)
PUBLIC: Set the BLOB/CLOB value limits on thin driver.
void setShouldUseLocatorForLOBWrite(boolean usesLocatorForLOBWrite)
PUBLIC: Set if the locator is required for the LOB write.
boolean shouldUseLocatorForLOBWrite()
PUBLIC: Return if the locator is required for the LOB write.

Methods inherited from class oracle.toplink.internal.databaseaccess.OraclePlatform
allowsSizeInProcedureArguments, getBatchBeginString, getBatchEndString, getNativeTableInfo, getProcedureArgumentSetter, getProcedureCallHeader, getProcedureCallTail, getSelectForUpdateString, getStoredProcedureParameterPrefix, getStoredProcedureTerminationToken, getTimestampQuery, isOracle, maximumNumericValues, minimumNumericValues, printFieldNullClause, serverTimestampString, shouldPrintOuterJoinInWhereClause, shouldUseJDBCOuterJoinSyntax, supportsNativeSequenceNumbers, supportsSelectForUpdateNoWait

Methods inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform
autoCommit, beginTransaction, buildProcedureCallString, clone, commitTransaction, copyInto, executeStoredProcedureCall, getBatchDelimiterString, getClassTypes, getConversionManager, getCreationInOutputProcedureToken, getCreationOutputProcedureToken, getCursorCode, getFieldTypeDefinition, getFieldTypes, getInOutputProcedureToken, getJDBCType, getJDBCType, getMaxBatchWritingSize, getOperator, getOutputProcedureToken, getPlatformOperators, getProcedureArgumentString, getQualifiedSequenceTableName, getSelectForUpdateNoWaitString, getSelectSequenceQuery, getSequenceCounterFieldName, getSequenceNameFieldName, getSequencePreallocationSize, getSequenceTableName, getStatementCacheSize, getStringBindingSize, getTableQualifier, getTimestampFromServer, getTransactionIsolation, getUpdateSequenceQuery, initializePreallocatedSequences, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isHSQL, isInformix, isInformixOuterJoin, isODBC, isPointBase, isSQLAnywhere, isSQLServer, isSybase, printFieldIdentityClause, printFieldNotNullClause, printValuelist, printValuelist, registerOutputParameter, requiresNamedPrimaryKeyConstraints, requiresProcedureCallBrackets, requiresProcedureCallOuputToken, rollbackTransaction, setConversionManager, setCursorCode, setMaxBatchWritingSize, setSelectSequenceNumberQuery, setSequenceCounterFieldName, setSequenceNameFieldName, setSequencePreallocationSize, setSequenceTableName, setShouldBindAllParameters, setShouldCacheAllStatements, setShouldForceFieldNamesToUpperCase, setShouldIgnoreCaseOnFieldComparisons, setShouldOptimizeDataConversion, setShouldTrimStrings, setStatementCacheSize, setStringBindingSize, setSupportsAutoCommit, setTableQualifier, setTimestampQuery, setTransactionIsolation, setUpdateSequenceQuery, setUsesBatchWriting, setUsesByteArrayBinding, setUsesJDBCBatchWriting, setUsesNativeSQL, setUsesStreamsForBinding, setUsesStringBinding, shouldBindAllParameters, shouldCacheAllStatements, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldIgnoreException, shouldOptimizeDataConversion, shouldPrintConstraintNameAfter, shouldPrintInOutputTokenBeforeType, shouldPrintOutputTokenBeforeType, shouldTrimStrings, supportsAutoCommit, supportsForeignKeyConstraints, supportsPrimaryKeyConstraint, toString, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeSequencing, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

Oracle8Platform

public Oracle8Platform()

Method Detail

setShouldUseLocatorForLOBWrite

public void setShouldUseLocatorForLOBWrite(boolean usesLocatorForLOBWrite)
PUBLIC: Set if the locator is required for the LOB write. The default is true. For Oracle thin driver, the locator is recommended for large size ( >4k for Oracle8, >5.9K for Oracle9) BLOB/CLOB value write.

shouldUseLocatorForLOBWrite

public boolean shouldUseLocatorForLOBWrite()
PUBLIC: Return if the locator is required for the LOB write. The default is true. For Oracle thin driver, the locator is recommended for large size ( >4k for Oracle8, >5.9K for Oracle9) BLOB/CLOB value write.

getLobValueLimits

public int getLobValueLimits()
PUBLIC: Return the BLOB/CLOB value limits on thin driver. The default value is 0. If usesLocatorForLOBWrite is true, locator will be used in case the lob's size is larger than lobValueLimit.

setLobValueLimits

public void setLobValueLimits(int lobValueLimits)
PUBLIC: Set the BLOB/CLOB value limits on thin driver. The default value is 0. If usesLocatorForLOBWrite is true, locator will be used in case the lob's size is larger than lobValueLimit.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.