Kbase P95035: OpenEdge 10 JDBC client architecture
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
GOAL:
Which type of JDBC driver is provided with Progress OpenEdge 10?
GOAL:
What kind of JDBC client architecture is used by OpenEdge 10?
FACT(s) (Environment):
OpenEdge 10.x
FIX:
OpenEdge 10 uses Type 2 JDBC Driver, which is partially a native-API driver and partially a Java driver.
A native-API driver is one that converts JDBC calls into client API calls for a particular database vendor. A partially Java driver contains Java code that uses the Java Native Interface (JNI) to call the database vendor's client APIs, which are written in C or C++. Therefore, the driver contains both Java class files and the native C or C++ library. A Type 2 driver is OS-specific, and it requires that some binary code be loaded on each client.
Java application includes calls to the JDBC API. The driver converts the JDBC API calls into corresponding JNI calls, which then call the corresponding C++ functions in the client library. The C++ functions then access the OpenEdge SQL Engine, through either a network or direct connection. The SQL engine then accesses the OpenEdge Database using the storage engine.