Sie sind auf Seite 1von 2

www.atoztarget.

com
http://www.atoztarget.com/2014/01/jdbc-interview-questions-andanswers.html
JDBC Interview Questions and Answers pdf free download
The Below Java JDBC Interview Questions and Answers for Freshers and Experienced candidates Interview Preparation 1. What is the JDBC? 2. What are the new features added to JDBC 4.0? 3. Explain Basic Steps in writing a Java program using JDBC? 4. Exaplain the JDBC Architecture. 5. What are the main components of JDBC ? 6. How the JDBC application works? 7. How do I load a database driver with JDBC 4.0 / Java 6? 8. What is JDBC Driver interface? 9. What does the connection object represents? 10. Can the JDBC-ODBC Bridge be used with applets? 11. How do I start debugging problems related to the JDBC API? 12. What is new in JDBC 2.0? 13. How to move the cursor in scrollable resultset ? 14. How to update a resultset programmatically? 15. How can I use the JDBC API to access a desktop database like Microsoft Access over the network? 16. Are there any ODBC drivers that do not work with the JDBC-ODBC Bridge? 17. What causes the "No suitable driver" error? 18. Why isn't the java.sql.DriverManager class being found? 19. What are the two major components of JDBC? 20. What is JDBC Driver interface? 21. How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column? 22. What are the common tasks of JDBC? 23. How to use JDBC to connect Microsoft Access? 24. What are four types of JDBC driver? 25. Which type of JDBC driver is the fastest one? 26. Are all the required JDBC drivers to establish connectivity to my database part of the JDK? 27. Is the JDBC-ODBC Bridge multi-threaded? 28. Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection? 29. What is the query used to display all tables names in SQL Server (Query analyzer)? 30. Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works? 31. How can I retrieve a String or other object type without creating a new object each time?

32. How many types of JDBC Drivers are present and what are they? 33. What is the fastest type of JDBC driver? 34. There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set? 35. The Bridge. How do I do it? 36. If I use the JDBC API, do I have to use ODBC underneath? 37. Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database? 38. How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method? 39. Where can I find info, frameworks and example source for writing a JDBC driver? 40. How can I create a custom RowSetMetaData object from scratch? 41. How does a custom RowSetReader get called from a CachedRowSet? 42. RowSetInternal caller and returns void. What can I do in the readData method? 43. How can I instantiate and load a new CachedRowSet object from a non-JDBC source? 44. Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS. 45. password, is stored in as plain text. What can I do to protect my passwords? 46. What driver should I use for scalable Oracle JDBC applications? 47. How can I capture this error code in a Java program? 48. How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database? 49. How can I insert images into a Mysql database? 50. Is possible to open a connection to a database with exclusive mode with JDBC?