There are restrictions for Application Continuity on Autonomous Database, as follows:
By default Application Continuity is disabled on Autonomous Database. See Configure Application Continuity on Autonomous Database for more information.
For JDBC clients using Oracle Database JDBC driver and jars, draining for Java based applications on Autonomous Database requires that you use Oracle JDBC driver and Companion Jars 184.108.40.206 or newer, or apply a patch. See Patch Request 31112088 for more information.