What is JDBC and ODBC and what are the differences between
them?

Answer Posted / pradeep kumar

1. ODBC is procedural oriented and JDBC is object oriented.
2. ODBC is used to provide connection between front-end
(other than JAVA) and back-end (weak database like MS-
ACCESS) and JDBC is used to provide connection between JAVA
and database(oracle,sybase,DB2).

Is This Answer Correct ?    66 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I manage special characters when I execute an insert query?

508


What is jdbc resultsetmetadata interface?

518


What is jdbc and explain jdbc architecture?

512


What is encrypted connection?

492


Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?

482






What is the use of dialect?

561


How can we disable a constraint ?

557


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

463


What are the different types of interfaces in the api component?

513


What is a merge field?

488


What are clob and blob data types in jdbc?

555


What are the advantages of using preparedstatement over statement?

529


Result set’s index starts with 0 or 1?

546


What are the packages are used in jdbc?

564


Which package is used for jdbc application?

506