Normal way looks like this:
pStmt = conn.prepareStatement(\"SELECT DETAILS FROM PROGRAM_HISTORY WHERE id = 12\");
rset = pStmt.executeQuery();
Cl
Not sure why you call that the "normal" way, but the following works for me.
It doesn't require any retrieval of the data before updating it.
String value = "So long and thanks for all the fish";
StringReader reader = new StringReader(value);
pStmt = conn.prepareStatement("UPDATE PROGRAM_HISTORY SET DETAILS = ? WHERE ID = 12");
pStmt.setCharacterStream(1, reader, value.length());
pStmt.executeUpdate();