Thanks for your reply.
I changed it to ('302000097', '302000098') still it is giving the same message as follows,
Code:
net.sf.hibernate.JDBCException: Could not execute query
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1539)
Caused by: java.sql.SQLException: Data type mismatch.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:381)
if I give two seperate strings with query.setString("order1", "302000097") and query.setString("order2", "302000098") the query is working. But If I give these two order numbers in single a string(by separating with quotes) it is not working.
Can you help me.
thanks,
gautam