java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1). <snip>

Oracle Community | 666705 | 10 years ago
  1. 0

    JDOQL matches clause fails against MySQL

    Oracle Community | 10 years ago | 666705
    java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1). <snip>
  2. 0

    Hibernate Community • View topic - Polymorphic mapping: Parameter index out of range

    hibernate.org | 1 year ago
    java.sql.SQLException: Parameter index out of range (12 > 11).
  3. 0

    Getting error with update.

    GitHub | 1 year ago | wpoosanguansit
    java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MySQL Bugs: #19724: ResultSet.updateXxx gives "Parameter index out of range" if MySQL in ansi mode

    mysql.com | 12 months ago
    java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
  6. 0

    Parameter index out of range (2 > number of parameters, which is 1)

    Stack Overflow | 5 years ago | Pavithra Gunasekara
    java.sql.SQLException: Parameter index out of range (2 &gt; number of parameters, which is 1).

    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. java.sql.SQLException

      Parameter index out of range (2 > number of parameters, which is 1). <snip>

      at com.mysql.jdbc.PreparedStatement.setLong()
    2. MySQL jdbc
      PreparedStatement.setLong
      1. com.mysql.jdbc.PreparedStatement.setLong(PreparedStatement.java:2616)
      1 frame
    3. OpenJPA Aggregate Jar
      DelegatingPreparedStatement.setLong
      1. org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.setLong(DelegatingPreparedStatement.java:290)
      1 frame