org.hibernate.exception.GenericJDBCException: Cannot open connection

Stack Overflow | abhi | 2 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

    h2-database - Re: Issue with c3p0 when using h2-1.3.161. - msg#00200 - Recent Discussion OSDir.com

    osdir.com | 8 months ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java: 140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java: 128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java: 449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java: 167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java: 161)
  2. 0

    Cannot open connection while insert much data.

    postgresql.org | 1 year ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
  3. 0

    H2 Database - Issue with c3p0 when using h2-1.3.161.

    nabble.com | 1 year ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java: 140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java: 128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java: 449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java: 167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java: 161) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java: 1700)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h2-database - Issue with c3p0 when using h2-1.3.161. - msg#00199 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java: 140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java: 128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 66) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java: 52) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java: 449) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java: 167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java: 161)

  1. esaar 2 times, last 9 months ago
  2. qavid 551 times, last 11 months ago
2 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

    Cannot open connection

    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException()
  2. Hibernate
    QueryLoader.list
    1. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
    2. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
    3. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    5. org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    6. org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    7. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    8. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1616)
    9. org.hibernate.loader.Loader.doQuery(Loader.java:717)
    10. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
    11. org.hibernate.loader.Loader.doList(Loader.java:2449)
    12. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
    13. org.hibernate.loader.Loader.list(Loader.java:2187)
    14. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
    14 frames
  3. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
    1 frame