Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: Criteria Query with Subselect

 
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