X - The concrete builder typeBaseModificationCriteriaBuilder<X>, BaseWhereBuilder<X>, CommonQueryBuilder<X>, ConfigurationSource, CTEBuilder<X>, Executable, ParameterHolder<X>, ServiceProvider, WhereBuilder<X>DeleteCriteriaBuilder<T>, InsertCriteriaBuilder<T>, UpdateCriteriaBuilder<T>public interface ModificationCriteriaBuilder<X extends ModificationCriteriaBuilder<X>> extends Executable, CommonQueryBuilder<X>, BaseModificationCriteriaBuilder<X>, CTEBuilder<X>
| Modifier and Type | Method | Description |
|---|---|---|
<T> ReturningResult<T> |
executeWithReturning(ReturningObjectBuilder<T> objectBuilder) |
Executes the modification query and returns an object consisting of the attributes applied by the object builder.
|
ReturningResult<javax.persistence.Tuple> |
executeWithReturning(String... attributes) |
Executes the modification query and returns the given attributes as tuples.
|
<T> ReturningResult<T> |
executeWithReturning(String attribute,
Class<T> type) |
Executes the modification query and returns the given attribute with the specified type.
|
From |
getRoot() |
Returns the query root.
|
<T> javax.persistence.TypedQuery<ReturningResult<T>> |
getWithReturningQuery(ReturningObjectBuilder<T> objectBuilder) |
Creates a query that contains the modification query and returns an object consisting of the attributes applied by the object builder.
|
javax.persistence.TypedQuery<ReturningResult<javax.persistence.Tuple>> |
getWithReturningQuery(String... attributes) |
Creates a query that contains the modification query and returns the given attributes as tuples.
|
<T> javax.persistence.TypedQuery<ReturningResult<T>> |
getWithReturningQuery(String attribute,
Class<T> type) |
Creates a query that contains the modification query and returns the given attribute with the specified type.
|
where, whereCase, whereExists, whereExists, whereExpression, whereExpressionSubqueries, whereNotExists, whereNotExists, whereSimpleCase, whereSubqueries, whereSubquery, whereSubquery, whereSubquery, whereSubquerygetCriteriaBuilderFactory, getMetamodel, isCacheable, registerMacro, setCacheable, setProperties, setPropertygetProperties, getPropertyhasCte, with, with, with, with, withCtesFrom, withRecursive, withReturning, withStartSet, withStartSetexecuteUpdate, getQuery, getQueryStringcontainsParameter, getParameter, getParameters, getParameterValue, isParameterSet, setParameter, setParameter, setParameter, setParameterTypegetServicesetWhereExpression, setWhereExpressionSubqueries, whereOrFrom getRoot()
ReturningResult<javax.persistence.Tuple> executeWithReturning(String... attributes)
attributes - The attributes of a changed entity to return<T> ReturningResult<T> executeWithReturning(String attribute, Class<T> type)
T - The result type of the attributeattribute - The attribute of a changed entity to returntype - The type of the attribute<T> ReturningResult<T> executeWithReturning(ReturningObjectBuilder<T> objectBuilder)
T - The type of the object constructed by the object builderobjectBuilder - The object builder that applies attributes and constructs the result objectsjavax.persistence.TypedQuery<ReturningResult<javax.persistence.Tuple>> getWithReturningQuery(String... attributes)
attributes - The attributes of a changed entity to return<T> javax.persistence.TypedQuery<ReturningResult<T>> getWithReturningQuery(String attribute, Class<T> type)
T - The result type of the attributeattribute - The attribute of a changed entity to returntype - The type of the attribute<T> javax.persistence.TypedQuery<ReturningResult<T>> getWithReturningQuery(ReturningObjectBuilder<T> objectBuilder)
T - The type of the object constructed by the object builderobjectBuilder - The object builder that applies attributes and constructs the result objectsCopyright © 2014–2020 Blazebit. All rights reserved.