This content has been marked as final. Show 4 replies
We are planning a similar extension :-)
Good to know - thanks!
Are you using JPA2? I guess as you are using CDI, JPA2 is an option as well. If so, then you have:
TypedQuery<User> usersQuery = em.createNamedQuery("getUsers", User.class);
List<User> users = usersQuery.getResultList();
Wow, that s a cool feature, didnt know it. thanks !!