protected static List<AvaticaParameter> parameters(ParameterMetaData metaData) throws SQLException {
  if (metaData == null) {
    return Collections.emptyList();
  }
  final List<AvaticaParameter> params=new ArrayList<>();
  for (int i=1; i <= metaData.getParameterCount(); i++) {
    params.add(new AvaticaParameter(metaData.isSigned(i),metaData.getPrecision(i),metaData.getScale(i),metaData.getParameterType(i),metaData.getParameterTypeName(i),metaData.getParameterClassName(i),"?" + i));
  }
  return params;
}

protected static List < AvaticaParameter > parameters ( ParameterMetaData metaData ) throws SQLException { if ( metaData == null ) { return Collections . emptyList ( ) ; } final List < AvaticaParameter > params = new ArrayList < > ( ) ; for ( int i = 1 ; i <= metaData . getParameterCount ( ) ; i ++ ) { params . add ( new AvaticaParameter ( metaData . isSigned ( i ) , metaData . getPrecision ( i ) , metaData . getScale ( i ) , metaData . getParameterType ( i ) , metaData . getParameterTypeName ( i ) , metaData . getParameterClassName ( i ) , "?" + i ) ) ; } return params ; }
converts from jdbc metadata to avatica parameters
