Detect the WebSphere Common Exception JDBC APIs

The WebSphere Common Exception APIs (com.ibm.websphere.ce.cm) are available in WebSphere Liberty Base, ND, and z/OS starting in 22.0.0.1. To use the APIs, ensure you are using WebSphere Liberty 22.0.0.1 or later and have the heritageAPIs-1.1 feature configured. The heritageAPIs-1.1 feature is not available in Managed Liberty, Open Liberty or WebSphere Liberty Core.

For Managed Liberty, Open Liberty or WebSphere Liberty Core, migrate the common exceptions to the JDBC provided exceptions. See the Java documentation for the java.sql.SQLException class and its subclasses.

For information about other APIs and SPIs that are not supported on Liberty, see Some APIs and SPIs are not available on Liberty.