Hello,
I have an
extremely simple BeanPropertyRowMapper that should be returning several instances of my Customer class, but it's only returning correctly, the CustomerId field within each instance. The other returned fields in each instance are nulls.
Not sure why.
Suggestions?
Thanks,
-mike
================================
======
Customer.java
============
Test Code that runs:
============
Output:
-----------------------------------------
Customer ID: 1
Customer Name = null null
Customer City = null
Customer State = null
Customer Zip = null
-----------------------------------------------------------------
Customer ID: 2
Customer Name = null null
Customer City = null
Customer State = null
Customer Zip = null
-----------------------------------------------------------------