my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes distinct in qbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "distinct in qbc" Watch "distinct in qbc" New topic
Author

distinct in qbc

nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
Does anyone know, how I can set the distinct-clause for all rows in Hibernate QBC ?:

with this:



I get this sql:




But I want to have this



How can I do that in qbc?
 
 
subject: distinct in qbc
 
Similar Threads
insert unique name into the table
.DISTINCT_ROOT_ENTITY or distinct-keyword
Hibernate Hell
select new constructor in JPA/Hibernate with DISTINCT NOT WORK!
second highest value