What are the basic exceptions in jdbc?
Answer / Vikrant Kumar Gond
Some of the common JDBC exceptions include:
1. SQLException - a general exception for database access.
2. ClassNotFoundException - occurs when the class representing the driver is not found.
3. InstantiationException - thrown if an error occurs during the creation of a new object.
4. IllegalAccessException - occurs if the code tries to access a class or method that it does not have permission to access.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the Isolation level in JDBC transaction?
What is jdbc stand for?
What are the basic exceptions in jdbc?
Name the new features added in jdbc 4.0.
What is connection pooling and why it is used?
Does jdbc require oracle client?
How do I load a database driver with JDBC 4.0 / Java 6?
What is jdbc type?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
In JDBC, All the API?s are interfaces? Where is the actual implementation?
What are JDBC Best Practices?
r u used any design patterns in your project?