File Release Notes and Changelog
Release Name: 0.2.2
Notes:
Changes:
(1)Update document. Chinese document is available now.
(2)Test cases are appended.
(3)Fixed 2 bug:
bug-1: ArrayIndexOutOfBoundException occurred when method with no arguments is invoked in CGLIB. In this case, JDK proxy give a null argument array, but
CGLIB give a empty argument array.
bug-2: NullPointerException occurred when queryForObject() return null value but primitive type( such as a COUNT(*) SQL whose "resultClass" is NOT specified),
This case is not caused by dao-zero, but because NullPointerException may be thrown in proxy class when it try to unwrap a null value to primitive,
it's confused for users. I decide to throw a NullPrimitiveException inheriting from DataAccessException to tell users what exactly occurred;