docs: public List<Connection> getConnections(final ConnectionMode connectionMode, final String dataSourceName, final int connectionSize) throws SQLException {
          if (stateHandler.isInTransaction()) {
              return getConnectionsWithTransaction(connectionMode, dataSourceName, connectionSize);
          } else {
              return getConnectionsWithoutTransaction(connectionMode, dataSourceName, connectionSize);
          }
      }