Query q = em.createQuery("SELECT u FROM SSUser u WHERE u.emailId=?1")
.setParameter(1, email);
I thought this would be a valid query, but then I get:
No results for query: SELECT FROM SSUser u WHERE u.emailId=?1
What's the right way to express this query?