Connection string for a single DSURL for jConnect

When connecting to a DSURL, you must specify the path to the sql.ini or interfaces file and the server name. Otherwise, jConnect will return an error.

This specifies the path to the sql.ini file:

String url = "jdbc:sybase:jndi:file://D:/syb1252/ini/mysql.ini?myaseISO1”

where:

This specifies the path to the interfaces file:

String url = "jdbc:sybase:jndi:file:///work/sybase/interfaces?myase"

where: