File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Object Relational Mapping
distinct in qbc
Joined: Jun 28, 2008
Apr 20, 2010 02:15:41
Does anyone know, how I can set the distinct-clause for all rows in Hibernate QBC ?:
I get this sql:
select distinct ID from Entity e;
But I want to have this
select distinct * from Entity e;
How can I do that in qbc?
I agree. Here's the link:
subject: distinct in qbc
.DISTINCT_ROOT_ENTITY or distinct-keyword
insert unique name into the table
select new constructor in JPA/Hibernate with DISTINCT NOT WORK!
second highest value
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014