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

Solutions on the web

via Coderanch by Prasanna Lakshmi Tallapaka, 1 year ago
Cannot open connection
via Coderanch by Prasanna Lakshmi Tallapaka, 1 year ago
Cannot open connection
via Coderanch by Prashanth Chandra, 1 year ago
org.hibernate.exception.GenericJDBCException: Cannot open connection	at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)	at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)	at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:419)	at org.hibernate.jdbc.JDBCContext.connect(JDBCContext.java:145)	at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:91)	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:74)	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:67)	at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:148)	at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:1848)	at org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:2209)	at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:46)	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:678)	at com.myhibernate.hp.test.EmployeeDetailsClient.main(EmployeeDetailsClient.java:33)