Well, use getter:

  |  List existing = em.createQuery("select u.username from User u where 
u.username=:uname").setParameter("uname", user.getUsername())
  | .getResultList();
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046201#4046201

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046201
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to