blog to recollect different kinf of data, comments, todo's, and make it easily avalaible from the web
12 diciembre 2008
metodos pang y pong
public void pong() { log.info("filtrando paises por: #{pais.pais}"); List list = entityManager.createQuery("select p from Pais p where p.pais like #{pais.pais}").getResultList(); Iterator iterator = list.iterator(); while (iterator.hasNext()){ log.info("pais: " + iterator.next().getPais()); }
No hay comentarios:
Publicar un comentario