| Package | Description |
|---|---|
| org.mentabean.jdbc |
| Modifier and Type | Class and Description |
|---|---|
class |
QueryBuilder.Equals |
class |
QueryBuilder.PopulateUsing |
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder.From |
QueryBuilder.From.append(Param p) |
QueryBuilder.From |
QueryBuilder.Select.from(QueryBuilder.Alias<?> alias)
Creates the FROM keyword for given alias appending the table name in SQL query.
|
QueryBuilder.From |
QueryBuilder.PopulateUsing.inProperty(Object propertyBean)
Defines the property of foreign bean (specified on
UsingPK#in(Alias) method)
that will receive the value from alias PK (specified on On#pkOf(Alias) method)
E.g.:
builder.select(user, city)
|
QueryBuilder.From |
QueryBuilder.PopulateUsing.inPropertyForcingInstance(Object propertyBean)
Defines the property of foreign bean (specified on
UsingPK#in(Alias) method)
that will receive the value from alias PK (specified on On#pkOf(Alias) method) and
force the creation of a new instance if bean property is not set. |
QueryBuilder.From |
QueryBuilder.PopulateUsing.pkProperty(Object propertyBean)
Defines the property of primary bean (specified on
On#pkOf(Alias) method)
that will receive the value from foreign alias (aliasFK) (specified on UsingPK#in(Alias) method)
Note: The pkProperty is generally used in 1x1 relationship. |
QueryBuilder.From |
QueryBuilder.PopulateUsing.pkPropertyForcingInstance(Object propertyBean)
Defines the property of primary bean (specified on
On#pkOf(Alias) method)
that will receive the value from foreign alias (aliasFK) (specified on UsingPK#in(Alias) method) and
force the creation of a new instance if bean property is not set. |
QueryBuilder.From |
QueryBuilder.selectDistinctFrom(QueryBuilder.Alias<?> as) |
QueryBuilder.From |
QueryBuilder.selectFrom(QueryBuilder.Alias<?> as)
Builds an initial SELECT alias FROM alias statement.
Same as select(alias).from(alias) |
Copyright © 2016. All Rights Reserved.