HHH-2308 allows to add conditions to the join clause, but this is not supported in DetachedCriteria.
I would really like to see it fixed.