java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by user591174-Oracle, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: 1
via Oracle Community by 539838, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: 1
via Oracle Community by 829058, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: 4
via Oracle Community by 610035, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: 1
via Oracle Community by HaroonAfridi, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: 1
via objectmix.com by Unknown author, 2 years ago
Missing IN or OUT parameter at index:: 9
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8210)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.