Integer intId = Integer.parseInt(id);
Mashup mashupPattern = new Mashup();
mashupPattern.setId(intId);
DAOFactory daoFactory = DAOFactory.getDAOFactory(DAOFactory.FactoryType.JDBC);
MashupDAO mashupDAO = (MashupDAO) daoFactory.getDAO(Mashup.class);
Mashup mashupFound = mashupDAO.find(mashupPattern);
if (mashupFound != null) {
StringBuilder sb = new StringBuilder();
if (callback != null) {
sb.append(callback).append("(");