Hi people!
I have some problem: how i can use ICriteria do this?

* select t1.id from t1
innet join (select * from t2) tt2 on tt2.t1_id=t1.id
* select t1.id from t1
innet join t2 on (t2.t1_id=t1.id and t2.amount=1)

It's possibly?

PS This simplified versions of the queries

Thx

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to