| Author |
Cannot update Clob to Oracle by using JDBC
|
jammy chen
Greenhorn
Joined: Aug 24, 2009
Posts: 25
|
|
I used the following codes to update clob to oracle by using jdbc
after ran above codes, I checked "bbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" was stored in the db, why? it should be "bbbbbbbbbbbbbbbbbb", right? As we can see the later string "bbbbbbbbbbbbbbbbbb" just appended. but I want it to be replaced.
I
|
Java tutorial
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Add this between flushing and closing the writer:
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: Cannot update Clob to Oracle by using JDBC
|
|
|