org.hibernate.exception.GenericJDBCException

Cannot open connection


Solutions on the web772

Solution icon of coderanch
via Coderanch by Chris Johnston, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by ilyas besli, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Markus Hansen, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Prasanna Lakshmi Tallapaka, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by raj jaiswal, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by rajiv jackz, 7 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by Ben Anis, 8 months ago
Cannot open connection

Solution icon of coderanch
Cannot open connection

Solution icon of coderanch
via Coderanch by Priya Parthiban, 8 months ago
Cannot open connection

Solution icon of coderanch
via Coderanch by nisu pathak, 8 months ago
Cannot open connection

Stack trace

  • 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:1616) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2449) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192) at org.hibernate.loader.Loader.list(Loader.java:2187) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 1 year ago
551 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
17 more bugmates