What is the purpose of JDBC in a bd that is based on ODBC?
What is the purpose of JDBC in a bd that is based on ODBC?
ODBC is an interface that does not depend on a specific programming language, database, or operating system. It can be used to write applications that search data from any database, regardless of the environment it is running. The biggest advantage of using ODBC as an interface between an application and a database is that when the database is changed the application does not need to be modified.
JDBC is an API for the Java language that facilitates the client to access a database, providing methods for fetching and updating database data. JDBC is best applied to object-oriented databases.
Deciding Between ODBC and JDBC
Use ODBC to:
Use JDBC to: