|
And what if you need INNER JOIN ? And what if "prop" is not a simple property but a collection? Fail.
P.S. If you look at source code of org.hibernate.internal.CriteriaImpl class, then you will see: " public Criteria createAlias(String associationPath, String alias) { return createAlias( associationPath, alias, JoinType.INNER_JOIN ); }
public Criteria createAlias(String associationPath, String alias, JoinType joinType) { new Subcriteria( this, associationPath, alias, joinType ); return this; }
"
It's still broken thing.
|