Register / Login
EJB and other Java EE Technologies
createQuery() return types
posted 8 years ago
I need to execute a query something like "select count(*) as count, name as username from table tablename".
How can I use the createQuery() in this case as my result will fetch me just 2 columns(count and name).
Boost this thread!
Is it possible to get count from a sessionFactory query
Override AbstractFacade ?!
IllegalArgumentException In hibernate
how do I code a like clause with Hibernate?
Regarding apply JOIN by using JPQL.