What's the difference between odbc and jdbc?
What is the difference between odbc and jdbc? Many novices are not very clear about this. In order to help you solve this problem, the following small series will explain it in detail for everyone. Those who have this need can come to learn. I hope you can gain something.
JDBC and ODBC differences are: 1, JDBC portability is better than ODBC;2, the two use different languages, JDBC is used in Java programming, ODBC is generally used in C/C++ programming.
Difference between JDBC and ODBC
JDBC is more portable than ODBC
Typically, after installing an ODBC driver, you need a defined configuration to be able to apply it. Different configurations cannot be common among different database servers. That is to say, install a demand configuration once. But the JDBC database driver is different. If you use a JDBC database driver, you only need to select the appropriate JDBC database driver and no additional configuration is required. During installation, the JDBC database driver completes the configuration itself. For this reason, JDBC portability is better than ODBC.
JDBC is easier to understand and use than ODBC
Different languages used
JDBC is used in Java programming, ODBC is generally used in C/C++ programming. ODBC is not suitable for use in Java, Java to use ODBC need to use JDBC-ODBC bridge, more shortcomings, generally do not use, Java use JDBC and manufacturers to achieve the driver jar package access database.
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.