ResultSetMetaData rm= resultSet.getMetaData();
int n=rm.getColumnCount();
Field[] fields=new Field[n];
for(int i=0;i<n;i++){
Field f=new Field(rm.getColumnName(i+1),i,rm.getColumnType(i+1));
fields[i]=f;
}
FeatureSchama fs=new FeatureSchama(fields,-1,-1);
return fs;
}