public class GenericCsvQuery extends GenericQuery
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCsvString(java.lang.String agencyId,
java.lang.String sql)
Runs a query and returns result as a CSV string.
|
static void |
main(java.lang.String[] args)
For debugging.
|
getConnection
public static java.lang.String getCsvString(java.lang.String agencyId, java.lang.String sql) throws java.sql.SQLException
agencyId
- For determining which database to accesssql
- The SQL to executejava.sql.SQLException
public static void main(java.lang.String[] args)
args
-