Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] Why is getResultList() grouped by Class even when ORDER BY is used?

Hi Christopher

Christopher Delahunt wrote:
> 
> or as a query
> hint through the eclipselink.inheritance.outer-join hint.

I've just played around with the query hint, but didn't get any better
results than without...

For the Query:
Query q = em.createQuery("SELECT v FROM VendingmachineComponent v ORDER BY
v.inventoryId DESC");

I've tried the following variants:

q.setHint("eclipselink.inheritance.outer-join", true);
q.setHint("eclipselink.inheritance.outer-join", "true");
q.setHint("eclipselink.inheritance.outer-join", "TRUE");
q.setHint("eclipselink.inheritance.outer-join", 1);

None of them worked (EclipseLink 1.0.2).

best regards,
  christian
-- 
View this message in context: http://www.nabble.com/Why-is-getResultList%28%29-grouped-by-Class-even-when-ORDER-BY-is-used--tp20937838p21029156.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top