|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.p13n.util.jdbc.GenericDatabase
com.bea.p13n.util.jdbc.OracleDatabase
com.bea.p13n.util.jdbc.WlsOracleThinDatabase
@Deprecated public class WlsOracleThinDatabase
Concrete implementation of OracleDatabase that provides support for reading/writing of BLOB/CLOB data. Designed to work with Oracle Thin driver when running inside an application server context.
OracleDatabase| Constructor Summary | |
|---|---|
WlsOracleThinDatabase(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". |
boolean |
commitConnection(Connection connection)
Deprecated |
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 |
insertClob(ClobKey key,
String data)
Deprecated Inserts a CLOB into the database managed tables for CLOB persistence |
String |
readClob(ClobKey key)
Deprecated Reads a CLOB into the database managed tables for CLOB persistence |
void |
removeClob(ClobKey key)
Deprecated Removes a CLOB from the database managed tables for CLOB persistence |
void |
updateClob(ClobKey key,
String data)
Deprecated Updates a CLOB in the database managed tables for CLOB persistence |
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 |
| Methods inherited from class com.bea.p13n.util.jdbc.GenericDatabase |
|---|
close, close, close, close, close, close, close, close, close, 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 WlsOracleThinDatabase(Connection connection)
| Method Detail |
|---|
public boolean accept(Connection connection)
GenericDatabase
accept 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 void insertClob(ClobKey key,
String data)
throws SQLException
SQLException
public void removeClob(ClobKey key)
throws SQLException
SQLException
public void updateClob(ClobKey key,
String data)
throws SQLException
updateClob in class OracleDatabaseSQLException
public String readClob(ClobKey key)
throws SQLException
SQLExceptionpublic String getName()
GenericDatabase
getName in interface DatabasegetName in class GenericDatabase
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 resultset
SQLException - on an errorgetClob(ResultSet rs, int index)
public boolean commitConnection(Connection connection)
throws SQLException
commitConnection in interface DatabasecommitConnection in class GenericDatabaseSQLException
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.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||