Rashmi,
Can anybody help ?
No, not without more information. But I will make a guess.
You are invoking the "setObject()" method (of interface
PreparedStatement) many times. Usually, you are supplying the same type of object (for example,
Timestamp), but sometimes you are sending a different type of object -- perhaps
Date instead of "Timestamp".
Hopefully you can figure out how to proceed from here, or supply some more details. At least:
the entire error message and stack trace you are gettingthe part of your code that is causing the problem Good Luck,
Avi.