This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using a subqueries results in a projection using Criteria  RSS feed

 
John Bartlett
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Im curious whether it is possible to use the projections of a subquery (DetachedCriteria) with the projection list of another criteria.

e.g.


I have been searching for a while and it seems to me you can only restrict based upon a subqueries results? Is this the case?

Thank you in advance,

John
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!