use of org.dbflute.cbean.sqlclause.join.InnerJoinNoWaySpeaker in project dbflute-core by dbflute.
the class HpAbstractSpecification method reflectDreamCruiseWhereUsedToJoin.
protected void reflectDreamCruiseWhereUsedToJoin(String relationPath, String tableAliasName) {
if (!_baseCB.xisDreamCruiseShip()) {
return;
}
// to suppress CountLeastJoin of the relation
// the DreamCruise might be used in where clause (not correctly but safety logic)
final ConditionBean portCB = _baseCB.xgetDreamCruiseDeparturePort();
final QueryUsedAliasInfo usedAliasInfo = new QueryUsedAliasInfo(tableAliasName, new InnerJoinNoWaySpeaker() {
public boolean isNoWayInner() {
// non fact of inner-join, because judge is so difficult when DreamCruise
return true;
}
});
portCB.getSqlClause().reflectWhereUsedToJoin(usedAliasInfo);
}
Aggregations