JDBC Issues and Solutions

JDBC Issues:

JDBC “java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver”

JDBC “java.sql.SQLException: ORA-01005: null password given; logon denied”

[Solved] JDBC : com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

[Solved] JDBC: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near…

[Solved] JDBC: java.sql.SQLException: Can’t drop database ‘database_name’; database doesn’t exist