org.hibernate.exception.GenericJDBCException: Could not open connection

Stack Overflow | H.B | 5 months ago
  1. 0

    Spring 3.2.13 + Hibernate 4.2.7 + JTA: works on tomee with jotm but fails on WebLogic 12c

    Stack Overflow | 5 months ago | H.B
    org.hibernate.exception.GenericJDBCException: Could not open connection
  2. 0

    GitHub comment 1#242584464

    GitHub | 3 months ago | jackrabb1t
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
  3. 0

    Newbi please check my log

    GitHub | 3 years ago | d7071
    org.hibernate.exception.GenericJDBCException: could not inspect JDBC autocommit mode
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat - User - DBCP2 connection pool leak?

    nabble.com | 1 year ago
    org.hibernate.exception.GenericJDBCException: could not > > > inspect JDBC autocommit mode at > > > org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54) at > > > org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124) at > > > org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109) at > > > org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.isAutoCommit(LogicalConnectionImpl.java:311) at > > > org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.afterNonTransactionalQuery(TransactionCoordinatorImpl.java:200) at > > org.hibernate.internal.SessionImpl.afterOperation(SessionImpl.java:477)
  6. 0

    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCExcep tion: could not execute query

    Stack Overflow | 1 year ago | Runnerdave
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCExcep tion: could not execute query

  1. Piz 6 times, last 5 months ago
3 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.exception.GenericJDBCException

    Could not open connection

    at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert()
  2. Hibernate
    QueryImpl.list
    1. org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
    2. org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
    3. org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
    4. org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:221)
    5. org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:157)
    6. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.connection(StatementPreparerImpl.java:56)
    7. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:161)
    8. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:182)
    9. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:159)
    10. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1859)
    11. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1836)
    12. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1816)
    13. org.hibernate.loader.Loader.doQuery(Loader.java:900)
    14. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:342)
    15. org.hibernate.loader.Loader.doList(Loader.java:2526)
    16. org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2371)
    17. org.hibernate.loader.Loader.list(Loader.java:2334)
    18. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)
    19. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)
    20. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:195)
    21. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1275)
    22. org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
    22 frames