Release v0.3.2-patch5
This is a patch release primarily for fixing below issues in JDBC driver. You don't have to upgrade if you're using Java client.
continueBatchOnError
was ignored in Statement.executeBatch()- executeQuery() may return null
- PreparedStatement.executeUpdate() did not work for insert statement using input function
- Exception was swallowed in Statement.executeUpdate() - #836
In addition, exception handling is improved along with some minor changes:
- support largeMaxRows, largeUpdateCount and executeLargeBatch
- disable
execute(*)
,executeQuery(*)
,execute*Update(*)
, andaddBatch(*)
methods in PreparedStatement to follow JDBC standard - throw BatchUpdateException instead of SQLException in execute*Batch method
- empty batch is no longer allowed - addBatch is a required before execute*Batch
- query in batch is not allowed, according to JDBC standard
- mixed use of addBatch and execute / executeQuery / execute*Update is not allowed
- ported some IO classes from 0.3.3 branch for slightly improved performance
commits...
- [7439cef]: Bump version (Zhichun Wu) #837
- [2782a3b]: Throw error in executeUpdate() and support continueBatchOnError in executeBatch() (Zhichun Wu) #837
- [ea49d7f]: Add notice for upgrading (Zhichun Wu)
- [6fdf02a]: Change max_result_rows from int to long (Zhichun Wu) #841
- [8ff5cdf]: Add reusable empty ClickHouseResponse which is stateless (Zhichun Wu) #841
- [ab09d64]: Enhance exception handling along with largeMaxRows and largeUpdateCount support (Zhichun Wu) #841
- [fd4b47f]: Port IO classes from 0.3.3 (Zhichun Wu) #841
- [105de13]: Validate JDK 11 HttpClient-based impementation as well (Zhichun Wu) #841
- [db4e219]: Call HttpURLConnection.disconnect when closing response, and avoid double buffering (Zhichun Wu) #841