private Map<String, String> getParameters(int resourceId) throws SQLException, ClassNotFoundException {
JDBCPreparedStatement ps2 = db.getStatement("buildShortcut.select.parameters");
ps2.setInt(1, resourceId);
Map<String,String> settings = new HashMap<String,String>();
try {
ResultSet rs2 = ps2.executeQuery();
try {
while (rs2.next()) {
settings.put(rs2.getString("parameter"), rs2.getString("value"));
}