Considering a BD that is based on ODBC, what is the function of the JDBC in this case?

Asked

Viewed 48 times

-1

What is the purpose of JDBC in a comic based on ODBC?

  • bd based on ODBC ?

  • 1

    Face ODBC and JDBC both are ways to connect to external databases, ie the goal of both is the same

  • 2

    JDBC = Java Database Connectivity and ODBC = Open Database Connectivity

  • This is like a riddle: Considering a comic that is based on ODBC, what is the function...

1 answer

3

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 for data from any database, regardless of the environment you are running. The biggest advantage of using ODBC is 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 a Java language API that makes it easy for the client to access a database, providing methods to search and update database data. JDBC is best applied to object-oriented database.

Deciding between ODBC and JDBC

Use the ODBC to:

  • Improved performance for data import and export
  • Imports and exports that use a lot of memory.

Use the JDBC to:

  • Independent platforms, allowing working with any operating system(32 and 64 bit).
  • Use functions already implemented in the interface;
  • Working with complex data types like LONG, BLOB, etc.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.