JDBC
supports Java's "write once, run anywhere" approach that helps eliminate
cross-platform complexity. With
JDBC
Java developers can write data-base-independent
SQL
statements.
The JDBC
process is fairly simple. First, the JDBC
application invokes the JDBC
driver manager to register and load the JDBC
driver. Then the JDBC
driver establishes a network connection with a database server,
sends SQL statements,
and processes the results.
There are four types of JDBC
drivers:
- JDBC-ODBC
Bridge
- Native API,
Partly-Java Driver
- Network-Protocol, All-Java Driver
- Native-Protocol, All-Java Driver
The HP Driver for JDBC
is the third type (Network-Protocol, All-Java driver) - the most
flexible option.
|
 |
|