View Single Post
Old 07-26-2004, 08:13 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
It's probably either
Code:
prd.setProductID(rs.getInt("SVPRID"));
or

Code:
prd.setDatePurchased((Date)formatDateOut.parse(rs.getString("SVPCHD")));
and I'm leaning towards the former. You probably have some bogus data in your DB, or the number is too big for an int.

What you could do is put println() after every set method to track down exactly what line it's occuring on.
__________________
GitS
Belisarius is offline   Reply With Quote