Establish a Connection
Establish a connection to an SAP Adaptive Server or SAP SQL Anywhere database using SAP jConnect.
Connection Properties
Connection properties specify the information needed to log in to a server and define expected client and server behavior.
Connect to SAP Adaptive Server
In Java application, define a URL using the SAP jConnect driver to connect to an SAP Adaptive Server.
Use the sql.ini and Interfaces File Directory Services
Use sql.ini file for Windows and the interfaces file for UNIX to provide server information for SAP jConnect for JDBC.
Connecting to a Server Using JNDI
In SAP jConnect, use the Java Naming and Directory Interface (JNDI) to provide connection information.
Parent topic:
Programming Information
Created March 10, 2014. Send feedback on this help topic to Technical Publications:
pubs@sap.com