private SoapJdbcResultSetMetaDataField[] convertFields(Field[] fields) {
SoapJdbcResultSetMetaDataField[] newFields = new SoapJdbcResultSetMetaDataField[fields.length];
for (int i = 0; i < fields.length; i++) {
newFields[i] = new SoapJdbcResultSetMetaDataField();
try {
newFields[i].sqlType = fields[i].getSQLType();
newFields[i].originalType = MysqlDefs.typeToName( fields[i].getMysqlType() );
newFields[i].autoIncrement = fields[i].isAutoIncrement();