Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

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:1596)	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:2294)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)	at org.hibernate.loader.Loader.list(Loader.java:2167)	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:448)	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:241)	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:250)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310)	at undefined.$Proxy52.getResultList(Unknown Source)