Topic: The Oracle 9i, PreparedStatement.setString is more than 2000 characters
There is an Oracle 9i, in it the table with a field, say, in 3000 length. On the server the coding cp1251, that is in the field is located 3000 Russian letters. However if to try to interpose value into this field through standard PreparedStatement.setString it is direct from the driver the error takes off. It at first converts a line in UTF-8, the length 6000, and the driver more than 4000 turns out does not pass (and that on the server it will again be pressed in 3000 it does not excite). Basically in the documentation it is described, but as it to avoid - is not described. Meanwhile found a simple method - stupidly to interpose a line into request in the best traditions PHP ("insert into t values ('" + str + "')"). Whether It is possible to invent still something?