Interface JpaCriteriaInsertSelect<T>
- All Superinterfaces:
CommonAbstractCriteria, JpaCriteriaBase, JpaCriteriaInsert<T>, JpaCriteriaNode, JpaCteContainer, JpaManipulationCriteria<T>, JpaQueryableCriteria<T>, Serializable
- All Known Implementing Classes:
SqmInsertSelectStatement
A representation of SqmInsertSelectStatement at the
org.hibernate.query.criteria level, even though JPA does
not define support for insert-select criteria.- See Also:
- API Note:
- Incubating mainly for 2 purposes:
-
to decide how to handle the typing for the "selection part". Should it
be
<T>or<X>. For the time being we expose it as<T>because that is what was done (without intention) originally, and it is the easiest form to validate - Would be better to expose non-SQM contracts here
-
to decide how to handle the typing for the "selection part". Should it
be
-
Method Summary
Modifier and TypeMethodDescriptiononConflict(JpaConflictClause<T> conflictClause) Set the conflict clause for this insert statement.select(CriteriaQuery<Tuple> criteriaQuery) Set the select query supplying inserted values.Methods inherited from interface CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface JpaCriteriaInsert
createConflictClause, getConflictClause, getInsertionTargetPaths, onConflict, setInsertionTargetPaths, setInsertionTargetPathsMethods inherited from interface JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface JpaManipulationCriteria
getTarget, setTarget
-
Method Details
-
select
Set the select query supplying inserted values. -
onConflict
Set the conflict clause for this insert statement.- Specified by:
onConflictin interfaceJpaCriteriaInsert<T>
-