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 Stack Overflow by Timo
, 1 year ago
Position beyond number of declared ordinal p arameters. Remember that ordinal parameters are 1-based! Position: 2]]
org.hibernate.QueryParameterException: Position beyond number of declared ordinal parameters. Remember that ordinal parameters are 1-based! Position:
 2	at org.hibernate.engine.query.spi.ParameterMetadata.getOrdinalParameterDescriptor(ParameterMetadata.java:80)	at org.hibernate.engine.query.spi.ParameterMetadata.getOrdinalParameterExpectedType(ParameterMetadata.java:86)	at org.hibernate.internal.AbstractQueryImpl.determineType(AbstractQueryImpl.java:450)	at org.hibernate.internal.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:422)	at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:445)	at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:72)