nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src
Colin Dean 0dd382370b NIFI-5612: Support JDBC drivers that return Long for unsigned ints
Refactors tests in order to share code repeated in tests and to enable
some parameterized testing.

MySQL Connector/J 5.1.x in conjunction with MySQL 5.0.x will return
a Long for ResultSet#getObject when the SQL type is an unsigned integer.
This change prevents that error from occurring while implementing a more
informational exception describing what the failing object's POJO type
is in addition to its string value.

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #3032
2018-09-28 13:46:04 -04:00
..
main NIFI-5612: Support JDBC drivers that return Long for unsigned ints 2018-09-28 13:46:04 -04:00
test NIFI-5612: Support JDBC drivers that return Long for unsigned ints 2018-09-28 13:46:04 -04:00