Function documentationSAP MaxDB JDBC Driver Locate this document in the navigation structure


With the SAP MaxDB JDBC driver, you can execute SQL statements in SAP MaxDB databases from within Java applications.

Properties of the SAP MaxDB JDBC driver:

  • 100 percent pure Java

  • Supports the JDBC 2.0 Standard Extension API (DataSource, XADataSource, and ConnectionPoolDataSource)

  • Type 4 driver (connection to the database is established using the SAP MaxDB-specific network protocol)

SAP MaxDB JDBC Driver: Java Classes



JDBC Driver*

Error handling

Classes for the JDBC 2.0 Standard Extension

The SAP MaxDB JDBC driver Java classes are contained in the <independent_program_path>\runtime\jar\sapdbc.jar file.

Example Example

C:\Program Files\sdb\programs\runtime\jar\sapdbc.jar

End of the example.


  • You have installed a Java platform:

    • For JDBC 2.0: JRE 1.2 or JDK 1.2 (for application development)

    • For JDBC 3.0: JRE 1.4, 1.5 or JDK 1.4, 1.5 (for application development)

  • You have installed the SAP MaxDB JDBC Driver.

    More information: Installing the SAP MaxDB JDBC Driver and Java Classes