~maria-captains/mariadb-java-client/trunk

« back to all changes in this revision

Viewing changes to pom.xml

  • Committer: Vladislav Vaintroub
  • Date: 2013-03-27 17:44:16 UTC
  • Revision ID: wlad@montyprogram.com-20130327174416-wjnqb6o8cuezg6gt
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
            <plugin>
53
53
                <groupId>org.apache.maven.plugins</groupId>
54
54
                <artifactId>maven-surefire-plugin</artifactId>
55
 
                <version>2.4.2</version>
56
55
            </plugin>
57
56
            <plugin>
58
57
                  <groupId>org.apache.maven.plugins</groupId>