code: public List<Connection> getConnections(final ConnectionMode connectionMode, final String dataSourceName, final int connectionSize) throws SQLException {
          return getConnections(connectionMode, dataSourceName, connectionSize, TransactionType.LOCAL);
      }
docs: Get connections.
  
  @param connectionMode connection mode
  @param dataSourceName data source name
  @param connectionSize size of connections to get
  @return connections
  @throws SQLException SQL exception