Jun 19 2009
Get column names from a dabase table using Groovy
Groovy has some great tools to simplify database queries. In this example I show how to fetch column names from a database table. This can be handy if you want to write a result set to a comma separated values (csv) file or to an Excel file using Apache POI and want the column [...]