I am getting this exception while executing the batch

COM.ibm.db2.jdbc.DB2Exception: Switching types in a batch is not allowed.

Plz help me out...
thanx
Praneeth K