QueryRunner queryRunner = new QueryRunner(DataSourceHandler.getDataSource());
ResultSetHandler rsh = new MapListHandler();
String sql = "select * from parameter";
try {
parameterMap = (Map) queryRunner.query(sql, rsh);
} catch (SQLException se) {
String msg = "Parameter: error loading parameters.\n" + se.getMessage();
log.warning(msg);
Messager.exception(null, msg);
return;