The JDBC 2.0 Optional Package (formerly the JDBC 2.0 Standard Extension API) defined several features that JDBC 2.0 drivers could implement. jConnect version 5.x and later have implemented the following optional package extension features:
JNDI for naming databases (works with any Sybase DBMS supported by jConnect)
Connection pooling (works with any Sybase DBMS supported by jConnect)
Distributed transaction management support (works only with Adaptive Server version 12.0 and later, or version 11.x using XA-Server™)
The above features require classes and/or interfaces that are not found in standard JDK 1.2.x distributions. You must download javax.sql.* and javax.naming.* to implement them if you're using a JDK 1.2.x or JRE installation. However, if you are using JDK 1.3.x or later, no additional download is necessary since the classes are part of the standard Java installation Databases and Connection Pooling, and you must download javax.transaction.xa.* to implement Distributed Transaction Management Support.
Sybase recommends that you use JNDI 1.2, which is compatible
with Java 1.1.6 and later.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |