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

Hibernate: Criteria Query with Subselect  RSS feed

 
Lavie Tobey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a working HQL query that I'm trying to convert to a QBC. The HQL is below. I've taken several stabs at the QBC, and I've included my attempts, too. Any help getting this working (along with an explanation) would be superb!

Thanks!
Lavie

This returns a list of Task objects.




Sorry about the formatting :-/


For this attempt above, which I think is the closest I came, I got the error:


[ October 20, 2008: Message edited by: Lavie Tobey ]
[ October 20, 2008: Message edited by: Lavie Tobey ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!