What is difference between odbc and jdbc?



What is difference between odbc and jdbc?..

Answer / Poonam Saini

ODBC (Open Database Connectivity) and JDBC (Java Database Connectivity) are both APIs that enable applications to connect to various databases. The main differences are:

1. ODBC is platform-independent, but Java-specific (JDBC).
2. ODBC is older than JDBC and thus less flexible and powerful in terms of features.
3. JDBC offers better performance due to its ability to use native drivers that are written in the same language as the database server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

How can you load the drivers in jdbc?

1 Answers  


Can we use the one instance of Statment to execute more than one query ?

2 Answers   TCS,


What are the 4 types of jdbc drivers?

1 Answers  


What is metadata in programming?

1 Answers  


What are clob and blob data types in jdbc?

1 Answers  


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

1 Answers  


Is jpa faster than jdbc?

1 Answers  


Explain in detail about JDBC and its general features?

1 Answers  


What is createstatement method in java?

1 Answers  


Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?

1 Answers   TCS,


What is odbc. how is it related to sql cli?

1 Answers  


What are the steps required to execute a query in jdbc?

1 Answers  


Categories