Skip to content

Instantly share code, notes, and snippets.

@bherrmann7
Created September 9, 2009 15:12
Show Gist options
  • Save bherrmann7/183787 to your computer and use it in GitHub Desktop.
Save bherrmann7/183787 to your computer and use it in GitHub Desktop.
int numberOfColumns = row.getMetaData().getColumnCount();
print "Columns:"
(1..numberOfColumns).each {n ->
print " $n:${row.getMetaData().getColumnName(n)}"
}
println('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment