Jump to content

Hibernate Criteria question


Fragsman

Recommended Posts

I'm wondering how to do something. What I wonder?

I wouldn't bother to write it down.

 

I have found exactly the samw question I'm doing myself in hibernate forums but nobody replied this guy:

https://forum.hibernate.org/viewtopic.php?f=1&t=942663

 

Perhaps you have used this and give me a hint

Share this post


Link to post
Share on other sites

Me too...

 

Been trying wth DetachedCriteria (which are used for subqueries and etc) but got a strange error. I need more time..

 

Tonight costume party so forget about this ^_^ let's just get drunk

Share this post


Link to post
Share on other sites

I did it!

 

But using HQL. Criteria seems impossible to do that or at least is not trivial. It is really hard and I need to use subqueries, projections and/or resultTransformer.. i'm dissapointed with the Crieria but well... Perhaps I should had to join a pure hibernate forum but... nobody answered that guy anyway..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...