org.hibernate.exception.GenericJDBCException: Cannot open connection


Solutions on the web327

Solution icon of stackoverflow
Cannot open connection

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

Solution icon of coderanch
via Coderanch by qin ailing, 9 months ago
Cannot open connection

Solution icon of coderanch
Cannot open connection

Solution icon of coderanch
via Coderanch by Raymond Chiu Wing Hing, 3 months ago
Cannot open connection

Solution icon of github
via GitHub by Ipri
, 11 months ago
Cannot open connection

Solution icon of github
Cannot open connection

Solution icon of googlegroups
via Google Groups by Daniel Urban, 4 months ago
Cannot open connection

Solution icon of googlegroups
via Google Groups by Unknown author, 9 months ago
Cannot open connection

Solution icon of googlegroups
via Google Groups by TB, 4 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, 1 year ago
17 more bugmates