To specify that SAP jConnect use JNDI to obtain connection information, place “jndi” as the URL protocol after “sybase”.
For example:
jdbc:sybase:jndi:protocol-information-for-use-with-JNDI
jdbc:sybase:jndi:ldap://LDAP_hostname:port_number/servername= Sybase11,o=MyCompany,c=US
This URL tells JNDI to obtain information from an LDAP server, gives the host name and port number of the LDAP server to use, and provides the name of a database server in an LDAP-specific form.