|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
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 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)
GenericDatabase
accept
in interface Database
accept
in class GenericDatabase
connection
- The Connection object that contains the URL.
public void writeToClob(Clob clob, String data) throws SQLException
writeToClob
in interface Database
writeToClob
in class GenericDatabase
clob
- 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 Database
getClob
in class GenericDatabase
rs
- the resultset containing the clobindex
- the position of the clob in the resultset
SQLException
- on an errorgetClob(ResultSet rs, int index)
public String getName()
GenericDatabase
getName
in interface Database
getName
in class GenericDatabase
public byte[] getBlob(ResultSet rs, int index) throws SQLException
getBlob
in interface Database
getBlob
in class GenericDatabase
rs
- The ResultSet containing the Blob.index
- The position of the Blob in the ResultSet.
SQLException
- on an errorpublic OutputStream getBlobLocator(Connection con, String tableName, String blobColumnName, String whereClause) throws SQLException
getBlobLocator
in interface Database
getBlobLocator
in class GenericDatabase
SQLException
- on an error.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |