Top Description Methods
org.hibernate.sql.results.graph

public Interface DatabaseSnapshotContributor

extends Fetchable
Known Direct Subinterfaces
org.hibernate.metamodel.mapping.AttributeMapping
Imports
org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.tree.from.TableGroup

Contract for model-parts which contribute to their container's state array for database snapshots
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default <T> DomainResult<T>
createSnapshotDomainResult(NavigablePath navigablePath, TableGroup parentTableGroup, String resultVariable, DomainResultCreationState creationState)

Create a DomainResult to be used when selecting snapshots from the database.

Inherited from org.hibernate.sql.results.graph.Fetchable:
asAttributeMappinggenerateFetchgetFetchableKeygetFetchableNamegetMappedFetchOptionsincrementFetchDepthisSelectableresolveCircularFetch

Method Detail

createSnapshotDomainResultback to summary
public default <T> DomainResult<T> createSnapshotDomainResult(NavigablePath navigablePath, TableGroup parentTableGroup, String resultVariable, DomainResultCreationState creationState)

Create a DomainResult to be used when selecting snapshots from the database.

By default, simply use createDomainResult