Hi guys:
Im just studying about HQL
Could anyone explain or provide some links about different between WITH and WHERE in HQL?
fromhttp://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html
example like:
from Cat as cat
left join cat.kittens as kitten
with kitten.bodyWeight > 10.0
Can I replace with with where ?
thx
Withis used to “supply extra join conditions”, which means that it is added to the join and not to the where clause:will be translated to something like this;
while this
is translated to