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
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?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: distinct in qbc
.DISTINCT_ROOT_ENTITY or distinct-keyword
second highest value
insert unique name into the table
select new constructor in JPA/Hibernate with DISTINCT NOT WORK!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014