Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
String columnName=null;
java.lang.reflect.Field field[]= row1.getClass().getDeclaredFields();
for(int i=2;i<field.length;i++){
columnName=field.getName().toLowerCase();
System.out.println(columnName);
list.add(columnName);
}