|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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.WlsOracleThinDatabase
Concrete implementation of OracleDatabase that provides support for reading/writing of CLOB data. Designed to work with Oracle Thin driver when running inside an application server context.
OracleDatabase
Constructor Summary | |
WlsOracleThinDatabase(java.sql.Connection connection)
|
Method Summary | |
boolean |
accept(java.sql.Connection connection)
|
boolean |
commitConnection(java.sql.Connection connection)
|
java.lang.String |
getClob(java.sql.ResultSet rs,
int index)
Retrieve CLOB value as a String of Unicode characters. |
java.lang.String |
getName()
|
void |
insertClob(ClobKey key,
java.lang.String data)
Inserts a CLOB into the database managed tables for CLOB persistence |
java.lang.String |
readClob(ClobKey key)
Reads a CLOB into the database managed tables for CLOB persistence |
void |
removeClob(ClobKey key)
Removes a CLOB from the database managed tables for CLOB persistence |
void |
updateClob(ClobKey key,
java.lang.String data)
Updates a CLOB in the database managed tables for CLOB persistence |
void |
writeToClob(java.sql.Clob clob,
java.lang.String data)
Writes the data from the String into the Clob. |
Methods inherited from class com.bea.p13n.util.jdbc.OracleDatabase |
getClobLocator,
getEmptyClobInitializer,
setClob,
trimClob |
Methods inherited from class com.bea.p13n.util.jdbc.GenericDatabase |
close,
close,
close,
close,
close,
close,
createClobKey,
createPreparedStatement,
endClob,
getApplicationName,
getClobTableName,
getConnection,
getProperty,
printSqlWarning,
readFromClob,
readFromClob,
setClob,
startClob,
writeToClob |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WlsOracleThinDatabase(java.sql.Connection connection)
Method Detail |
public boolean accept(java.sql.Connection connection)
public void writeToClob(java.sql.Clob clob, java.lang.String data) throws java.sql.SQLException
public void insertClob(ClobKey key, java.lang.String data) throws java.sql.SQLException
public void removeClob(ClobKey key) throws java.sql.SQLException
public void updateClob(ClobKey key, java.lang.String data) throws java.sql.SQLException
public java.lang.String readClob(ClobKey key) throws java.sql.SQLException
public java.lang.String getName()
public java.lang.String getClob(java.sql.ResultSet rs, int index) throws java.sql.SQLException
rs
- the resultset containing the clobindex
- the position of the clob in the resultsetgetClob(ResultSet rs, int index)
public boolean commitConnection(java.sql.Connection connection) throws java.sql.SQLException
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |