Package org.hibernate.query.criteria
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) Sets the conflict clause that defines what happens when an insert violates a unique constraint.select
(CriteriaQuery<Tuple> criteriaQuery) Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
getRestriction, subquery
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaInsert
createConflictClause, getConflictClause, getInsertionTargetPaths, onConflict, setInsertionTargetPaths, setInsertionTargetPaths
Methods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
Methods inherited from interface org.hibernate.query.criteria.JpaManipulationCriteria
getTarget, setTarget
-
Method Details
-
select
-
onConflict
Description copied from interface:JpaCriteriaInsert
Sets the conflict clause that defines what happens when an insert violates a unique constraint.- Specified by:
onConflict
in interfaceJpaCriteriaInsert<T>
-