Top Description Methods
org.hibernate.persister.entity.mutation

public Interface EntityMutationTarget

extends MutationTarget<EntityTableMapping>
Known Direct Subinterfaces
org.hibernate.id.PostInsertIdentityPersister
Known Direct Implementers
org.hibernate.persister.entity.AbstractEntityPersister
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.annotations.Table, org.hibernate.engine.jdbc.mutation.MutationExecutor, org.hibernate.id.insert.InsertGeneratedIdentifierDelegate, org.hibernate.metamodel.mapping.EntityMappingType, .ModelPart, org.hibernate.sql.model.MutationTarget

Anything that can be the target of mutations
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ModelPart
getIdentifierDescriptor()

The ModelPart describing the identifier/key for this target

public EntityTableMapping
getIdentifierTableMapping()

Redeclares org.hibernate.sql.model.MutationTarget.getIdentifierTableMapping.

The descriptor for the table containing the identifier for the target
public InsertGeneratedIdentifierDelegate
getIdentityInsertDelegate()

The delegate for executing inserts against the root table for targets defined using post-insert id generation

public EntityMappingType
getTargetPart()

Redeclares org.hibernate.sql.model.MutationTarget.getTargetPart.

The ModelPart describing the mutation target
public boolean
hasSkippableTables()

Whether this target defines any potentially skippable tables.

Inherited from org.hibernate.sql.model.MutationTarget:
forEachMutableTableforEachMutableTableReversegetIdentifierTableNamegetNavigableRolegetRolePath

Method Detail

getIdentifierDescriptorback to summary
public ModelPart getIdentifierDescriptor()

The ModelPart describing the identifier/key for this target

getIdentifierTableMappingback to summary
public EntityTableMapping getIdentifierTableMapping()

Redeclares org.hibernate.sql.model.MutationTarget.getIdentifierTableMapping.

Doc from org.hibernate.sql.model.MutationTarget.getIdentifierTableMapping.

The descriptor for the table containing the identifier for the target

Annotations
@Override
getIdentityInsertDelegateback to summary
public InsertGeneratedIdentifierDelegate getIdentityInsertDelegate()

The delegate for executing inserts against the root table for targets defined using post-insert id generation

getTargetPartback to summary
public EntityMappingType getTargetPart()

Redeclares org.hibernate.sql.model.MutationTarget.getTargetPart.

Doc from org.hibernate.sql.model.MutationTarget.getTargetPart.

The ModelPart describing the mutation target

Annotations
@Override
hasSkippableTablesback to summary
public boolean hasSkippableTables()

Whether this target defines any potentially skippable tables.

A table is considered potentially skippable if it is defined as inverse or as optional.

See Also
Table#inverse, Table#optional