|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.p13n.util.jdbc.GenericDatabase
com.bea.p13n.util.jdbc.OracleDatabase
com.bea.p13n.util.jdbc.OracleThinDatabase
Deprecated No longer needed, as JDBC methods work with all supported drivers
@Deprecated
public class OracleThinDatabase
Concrete implementation of OracleDatabase that provides support for reading/writing of BLOB/CLOB data. Designed to work with Oracle Thin driver when running outside an application server context.
OracleDatabase| Constructor Summary | |
|---|---|
OracleThinDatabase(Connection connection)Deprecated |
|
| Method Summary | |
|---|---|
boolean |
accept(Connection connection)Deprecated Check to see if the connection URL matches the format defined in "accept.driver.url.regex". |
byte[] |
getBlob(ResultSet rs, int index)Deprecated Retrieve Blob value and write to an InputStream from a ResultSet. |
OutputStream |
getBlobLocator(Connection con, String tableName, String blobColumnName, String whereClause)Deprecated Gets the BlobLocator object inside an Oracle database column. |
String |
getClob(ResultSet rs, int index)Deprecated Retrieve CLOB value as a String of Unicode characters. |
String |
getName()Deprecated The name of this GenericDatabase instance. |
void |
writeToClob(Clob clob, String data)Deprecated Writes the data from the String into the Clob. |
| Methods inherited from class com.bea.p13n.util.jdbc.OracleDatabase |
|---|
getClobLocator, getClobLocatorForAdBucket, getEmptyBlobInitializer, getEmptyClobInitializer, setClob, trimClob, updateClob |
| Methods inherited from class com.bea.p13n.util.jdbc.GenericDatabase |
|---|
close, close, close, close, close, close, close, close, close, commitConnection, createPreparedStatement, endBlob, endClob, getApplicationName, getClobTableName, getConnection, getProperty, printSqlWarning, readFromClob, readFromClob, setClob, startBlob, startClob, writeToClob |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OracleThinDatabase(Connection connection)
| Method Detail |
|---|
public boolean accept(Connection connection)
GenericDatabaseaccept in interface Databaseaccept in class GenericDatabaseconnection - The Connection object that contains the URL.
public void writeToClob(Clob clob,
String data)
throws SQLException
writeToClob in interface DatabasewriteToClob in class GenericDatabaseclob - The target Clob object.data - The data to be converted to a Clob in the form of a String.SQLException - Thrown because this is an unsupported operation.
public String getClob(ResultSet rs,
int index)
throws SQLException
getClob in interface DatabasegetClob in class GenericDatabasers - the resultset containing the clobindex - the position of the clob in the resultsetSQLException - on an errorgetClob(ResultSet rs, int index)public String getName()
GenericDatabasegetName in interface DatabasegetName in class GenericDatabase
public byte[] getBlob(ResultSet rs,
int index)
throws SQLException
getBlob in interface DatabasegetBlob in class GenericDatabasers - The ResultSet containing the Blob.index - The position of the Blob in the ResultSet.SQLException - on an error
public OutputStream getBlobLocator(Connection con,
String tableName,
String blobColumnName,
String whereClause)
throws SQLException
getBlobLocator in interface DatabasegetBlobLocator in class GenericDatabaseSQLException - on an error.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.