CONJ-31 : fix several issues with Clob and PreparedStatement.setCharacterStream()
- non-ASCII characters can get lost, if PreparedStatement.setCharacterStream() is used. - If PreparedStatement.setClob() was used, CLOB was sent to the server using binary introducer (_BINARY). This can potentially lead to wrongly stored non-ASCII characters.
Small cleanups : - remove try/catch around code that can't throw exceptions in MySQLPreparedStatement - move all tests related to Clobs, Blobs, and streams to BlobTest.java
Thanks to Rune Bremnes, who contributed parts of this patch.