comparison « HQL « JPA Q&A





1. Can I do case sensitive comparison in HQL?    stackoverflow.com

I wrote HQL query like this in Hibernate:

User userLogIn = (User) entityManager
       .createQuery("from User as u where u.userName=:uname and u.passWord=:pwd")
      ...

2. comparison operator with HQL    coderanch.com