What is new in 10g R2?
The implementations of the setBytes, setBinaryStream, setString, setCharacterStream and setAsciiStream API’s have been changed to automatically switch to the most appropriate data type based on the data size, the type of the sql statement and the driver used. For example to insert a very large string into a clob column, the setString API of PreparedStatement may be used.