To use the jConnect debugging feature, your application must import the Debug interface and obtain an instance of the Debug class by calling the getDebug method on the SybDriver class.
import com.sybase.jdbcx.Debug import.com.sybase.jdbcx.SybDebug // ... SybDriver sybDriver = (SybDriver) Class.forName("com.sybase.jdbc3.jdbc.SybDriver").newInstance();
Debug sybdebug = sybDriver.getDebug(); ...