impetus-opensource/Kundera-Examples — Issue #6: Typos in the tweeter example?
Author: smecsia
Created: 2012-01-13 09:02:19+00:00
State: open

Probably I've noticed some typos in the code of twitter service. The query below looks very strange to me (we're trying to get the list of tweets using the User entity). Am I wrong?

Query q = em.createQuery("select u.device from User u where u.device like :device");
q.setParameter("device", deviceName);
List tweets = q.getResultList();