public class QueryBuilder.Equals extends QueryBuilder.From
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder.OnEquals |
and(Object property) |
QueryBuilder.Equals |
eqProperty(Object propertyBean)
Defines the property of bean specified as alias on
OnEquals#eq(Alias, Object) method
that will receive the value from alias specified on From#join(Alias) method
E.g.:
builder.select(user, city)
|
QueryBuilder.Equals |
eqPropertyForcingInstance(Object propertyBean)
Defines the property of bean specified as alias on
OnEquals#eq(Alias, Object) method
that will receive the value from alias specified on From#join(Alias) method and
force the creation of a new instance if bean property is not set. |
append, groupBy, groupBy, groupBy, groupByProp, join, join, leftJoin, limit, orderBy, rightJoin, whereexecuteQuery, executeSentence, getParamValues, getSQL, getValueFromResultSet, preparepublic QueryBuilder.Equals eqPropertyForcingInstance(Object propertyBean)
OnEquals#eq(Alias, Object) method
that will receive the value from alias specified on From#join(Alias) method and
force the creation of a new instance if bean property is not set.
builder.select(user, city)
.from(user)
.join(city)
.on(city.pxy().getId())
.eq(user, user.pxy().getCity().getId())
.inPropertyForcingInstance(user.pxy().getCity())
...
propertyBean - Alias#put(Object, boolean, Alias)public QueryBuilder.Equals eqProperty(Object propertyBean)
OnEquals#eq(Alias, Object) method
that will receive the value from alias specified on From#join(Alias) method
builder.select(user, city)
.from(user)
.join(city)
.on(city.pxy().getId())
.eq(user, user.pxy().getCity().getId())
.inProperty(user.pxy().getCity())
...
propertyBean - Alias#put(Object, boolean, Alias)public QueryBuilder.OnEquals and(Object property)
Copyright © 2016. All Rights Reserved.