|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.database.WriteDbData
public final class WriteDbData
Offer methods for write data to database. All public methods are static and thread safe.
Constructor Summary | |
---|---|
WriteDbData()
|
Method Summary | |
---|---|
static void |
setCLOB(java.sql.CallableStatement callable,
int index,
java.lang.String data)
Write to a CLOB column. |
static void |
setCLOB(oracle.sql.CLOB clob,
java.lang.String data)
Write to a CLOB column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteDbData()
Method Detail |
---|
public static void setCLOB(oracle.sql.CLOB clob, java.lang.String data) throws DatabaseException
clob
- the target CLOB object to write.data
- the data to write in CLOB.
DatabaseException
public static void setCLOB(java.sql.CallableStatement callable, int index, java.lang.String data) throws DatabaseException
callable
- the CallableStatement object containing the CLOB column.index
- the position of the CLOB in the CallableStatement.data
- the data to write in CLOB.
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |