org.hibernate.QueryParameterException: Position beyond number of declared ordinal p arameters. Remember that ordinal parameters are 1-based! Position: 2]]

Stack Overflow | Timo | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    Elasticsearch - No node available

    Stack Overflow | 3 years ago | cmsantos
    play.api.Application$$anon$1: Execution exception[[NoNodeAvailableException: No node available]]
  2. 0

    StackOverflowError in Iteratee

    GitHub | 3 years ago | alexanderjarvis
    play.api.Application$$anon$1: Execution exception[[ExecutionException: Boxed Error]]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    Try to restart Play
  5. 0

    Trust all SSL certificates in Java Playframework 2.2

    Stack Overflow | 3 years ago | asvignesh
    play.api.Application$$anon$1: Execution exception[[ConnectException: General SSLEngine problem to https://10.0.1.1/client/api]]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Hibernate
      AbstractQueryImpl.setParameter
      1. org.hibernate.engine.query.spi.ParameterMetadata.getOrdinalParameterDescriptor(ParameterMetadata.java:80)[hibernate-core-4.1.8.Final.jar:4.1.8.Final]
      2. org.hibernate.engine.query.spi.ParameterMetadata.getOrdinalParameterExpectedType(ParameterMetadata.java:86)[hibernate-core-4.1.8.Final.jar:4.1.8.Final]
      3. org.hibernate.internal.AbstractQueryImpl.determineType(AbstractQueryImpl.java:450)[hibernate-core-4.1.8.Final.jar:4.1.8.Final]
      4. org.hibernate.internal.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:422)[hibernate-core-4.1.8.Final.jar:4.1.8.Final]
      4 frames
    3. Hibernate EJB
      QueryImpl.setParameter
      1. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:445)[hibernate-entitymanager-4.1.8.Final.jar:4.1.8.Final]
      2. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:72)[hibernate-entitymanager-4.1.8.Final.jar:4.1.8.Final]
      2 frames