JDBC interview questions [ Part 3 ]

1. What actually does Class.forName("mypackage.MyDriver"); method do?
2. How do you get Column names only for a table (SQL Server)? Write the Query.
3. What is a data source?
4. What is 2 phase commit?
5. How do you handle your own transaction ?
6. What Class.forName will do while loading drivers?
7. Can we maintain two database connection in single application? How can we achieve that?
8. What is the normal procedure followed by a java client to access the db?
9. Explain the advantage of using PreparedStatement.
10. Does the JDBCODBC Bridge support multiple concurrent open statements per connection?

Related Post