java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!

Hibernate JIRA | Shinpei Ohtani | 1 decade ago
  1. 0

    HQL - Remember that ordinal parameters are 1-based?

    Stack Overflow | 5 years ago | emeraldjava
    java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    a hibernate bug?

    Stack Overflow | 5 years ago | Crystal Cat
    java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!
  4. 0

    Why this Hibernate JPQL query can't work?

    Stack Overflow | 2 years ago
    java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-based!

    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. java.lang.IndexOutOfBoundsException

      Remember that ordinal parameters are 1-based!

      at org.hibernate.engine.query.ParameterMetadata.getOrdinalParameterDescriptor()
    2. Hibernate
      AbstractQueryImpl.setParameter
      1. org.hibernate.engine.query.ParameterMetadata.getOrdinalParameterDescriptor(ParameterMetadata.java:55)
      2. org.hibernate.engine.query.ParameterMetadata.getOrdinalParameterExpectedType(ParameterMetadata.java:61)
      3. org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:389)
      4. org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:369)
      4 frames
    3. Hibernate EJB
      QueryImpl.setParameter
      1. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:198)
      1 frame