java.sql.SQLException: Numeric Overflow while using IN operator
问题 I implemented a Java application which queries a database based on given set of ids using the query: select * from STUDENT where ID in (?) The set of ids will be used to replace ? . However, occasionally, I receive an exception: Caused by: java.sql.SQLException: Numeric Overflow at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException