org.hibernate.exception.GenericJDBCException: could not execute query

coderanch.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error in named native query (Invalid Column Name) (Object Relational Mapping forum at Coderanch)

    coderanch.com | 8 months ago
    org.hibernate.exception.GenericJDBCException: could not execute query
  2. 0

    Error in named native query (Invalid Column Name)

    Coderanch | 8 years ago | Dominique Von Hofcheirken
    org.hibernate.exception.GenericJDBCException: could not execute query
  3. 0

    Invalid Column Name error with Hibernate createSQLquery

    Stack Overflow | 4 years ago | Ginja Ninja
    java.sql.SQLException: Invalid column name
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    amount field with decimals in hibernate

    Stack Overflow | 4 years ago | JNPW
    java.sql.SQLException: Fail to convert to internal representation
  6. 0

    Getting error on a simple query

    Stack Overflow | 3 years ago | Atul Kumar
    java.sql.SQLException: Fail to convert to internal representation

    Root Cause Analysis

    1. java.sql.SQLException

      Invalid column name

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OracleResultSet.getBigDecimal
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
      2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
      3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
      4. oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3319)
      5. oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:1926)
      6. oracle.jdbc.driver.OracleResultSet.getBigDecimal(OracleResultSet.java:2042)
      6 frames
    3. Hibernate
      CustomLoader.list
      1. org.hibernate.type.BigDecimalType.get(BigDecimalType.java:23)
      2. org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
      3. org.hibernate.type.NullableType.nullSafeGet(NullableType.java:154)
      4. org.hibernate.loader.Loader.getKeyFromResultSet(Loader.java:1097)
      5. org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:565)
      6. org.hibernate.loader.Loader.doQuery(Loader.java:701)
      7. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      8. org.hibernate.loader.Loader.doList(Loader.java:2217)
      9. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2108)
      10. org.hibernate.loader.Loader.list(Loader.java:2103)
      11. org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
      11 frames
    4. Hibernate
      SQLQueryImpl.list
      1. org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1696)
      2. org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
      3. org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
      3 frames
    5. org.main
      TestClass.main
      1. org.main.TestClass.main(TestClass.java:37)
      1 frame