Hello,

I have a query like this:
Criteria crit = new Criteria();
crit.addEqualTo("number", "1");

The number field is an INTEGER.

My code outputs this error:
java.lang.ClassCastException: java.lang.String
        at net.sourceforge.jtds.jdbc.PreparedStatement_base.setObject(Unknown Source)
        at net.sourceforge.jtds.jdbc.PreparedStatement_base.setObject(Unknown Source)



How to do a query to an INTEGER value?

Thank you
Merry Christmas
Sylvain 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to