Establish a Connection
Establish a connection to an Adaptive Server or SQL Anywhere database using jConnect.
Connection Properties
Connection properties specify the information needed to log in to a server and define expected client and server behavior.
Connect to Adaptive Server
In Java application, define a URL using the jConnect driver to connect to an 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 jConnect for JDBC.
Connecting to a Server Using JNDI
In jConnect, use the Java Naming and Directory Interface (JNDI) to provide connection information.
Parent topic:
Programming Information
Created June 6, 2013. Send feedback on this help topic to Technical Publications:
pubs@sybase.com