Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ResultSet.getInt/Long/Float/Double now return 0 for NULL values, getB…
…oolean returns false for NULL values. This patch solves issue #81
- Loading branch information
Showing
3 changed files
with
117 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d2b4ccd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my 2 cents: that deserves a PR against the Java driver to encapsulate this behavior.
AsXxx if Xxx is a primitive type should be default-value-aware, that does not seem like something the JDBC driver should concern itself with.