Description
ResultSetLogProxy logs null values incorrectly when it transfers to Java primitive wrapper objects.
Bean class to transfer is defined...
class Item
Header: [ITEMCD, ITEMNM, SUPPLIERCD, ITEMDIVISION]
{rset-100012} Result: [item001, SumpleItem001, null, 0]
--------------------------------------------------
In IntegerTypeHandler.java getResult() statement
--------------------------------------------------
int i = rs.getInt(columnName); // --(A)
if (rs.wasNull())
else
{ return new Integer(i); // --(B) }--------------------------------------------------
(A) is output for logging.
(B) is used for bean mappings.