Java application not using Transparent Application failover in Oracle database
The output shows that your sessions use the &quot;Thin&quot; driver (JDBC Thin Client), which is incapable of using TAF.
Transparent Application Failover

Transparent Application Failover (TAF) is a feature of the Java
Database Connectivity (JDBC) Oracle Call Interface (OCI) driver.

Sometimes the JDBC OCI driver is also called as the &quot;Thick&quot; driver.
Here is a blog series about this topic:
https://blog.yannickjaquier.com/oracle/jdbc-client-high-availability-features-part-1.html
Part 2 is about TAF:
https://blog.yannickjaquier.com/oracle/jdbc-failover-highly-available-part-2.html
Make sure you configure swingbench to use oci driver type. It has the -dt oci commandline option for that. Also make sure you use a proper connection string with the failover options and addresses.