org.hibernate.exception.GenericJDBCException: Cannot open connection

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 Hibernate JIRA by isaacpradeep, 1 year ago
Cannot open connection
via Hibernate JIRA by isaacpradeep, 1 year ago
Cannot open connection
via Coderanch by Prasanna Lakshmi Tallapaka, 1 year ago
Cannot open connection
via Coderanch by Prasanna Lakshmi Tallapaka, 1 year ago
Cannot open connection
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:424)
at org.hibernate.jdbc.JDBCContext.connect(JDBCContext.java:168)
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:103)
at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:49)
at org.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:24)
at student.AddStudent.main(AddStudent.java:35)

Users with the same issue

3 times, 1 month ago
10 times, 3 months ago
Once, 5 months ago
Once, 7 months ago
2 times, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.