Please check your code more carefully. The exception says that the query can't bind the [b]2nd[/b] parameter.
Whith Java 5 auto-boxing, you don't need to wrap int with an Integer.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=250893