Oracle TopLink API Reference
10g Release 3 (10.1.3)

B13698-01


oracle.toplink.platform.database.oracle
Class Oracle8Platform

java.lang.Object
  extended byoracle.toplink.internal.databaseaccess.OraclePlatform
      extended byoracle.toplink.platform.database.oracle.OraclePlatform
          extended byoracle.toplink.oraclespecific.Oracle8Platform
              extended byoracle.toplink.platform.database.oracle.Oracle8Platform

Direct Known Subclasses:
Oracle9Platform

public class Oracle8Platform
extends Oracle8Platform

Purpose: Supports certain new Oracle 8 data types, and usage of certain Oracle JDBC specific APIs.

Supports Oracle thin JDBC driver LOB >4k binding workaround.

Creates BLOB and CLOB type for byte[] and char[] for table creation.

See Also:
Serialized Form

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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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.
Overrides:
setShouldUseLocatorForLOBWrite in class Oracle8Platform

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.
Overrides:
shouldUseLocatorForLOBWrite in class Oracle8Platform

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.
Overrides:
getLobValueLimits in class Oracle8Platform

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.
Overrides:
setLobValueLimits in class Oracle8Platform

Copyright © 1998, 2006, Oracle. All Rights Reserved.