Procedure documentationConnecting to a Database Locate this document in the navigation structure

 

You connect a Java application to a SAP MaxDB database using JDBC.

Prerequisites

  • You have loaded the SAP MaxDB JDBC driver.

    More information: Loading the JDBC Driver

  • You have started the SAP MaxDB X Server (communication server).

    More information: X Server, Starting the X Server

    Note that you must start X Server even if the Java application and the database are located on the same computer.

Procedure

To connect to a database, use one of the following two options:

SAP customers can set up an SSL connection between the Java application and the database. More information: Setting Up an SSL Connection