Top Description Methods
org.hibernate.metamodel.mapping

public Interface BasicEntityIdentifierMapping

extends SingleAttributeIdentifierMapping, BasicValuedModelPart
Known Direct Implementers
org.hibernate.metamodel.mapping.internal.BasicEntityIdentifierMappingImpl, org.hibernate.query.derived.AnonymousTupleBasicEntityIdentifierMapping
Imports
org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping

Mapping for a simple, single-column identifier
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default int
public boolean
public boolean
Inherited from org.hibernate.metamodel.mapping.BasicValuedModelPart:
forEachSelectableforEachSelectablegetJdbcMappinggetJdbcTypeCountgetPartMappingTypegetSelectablegetSingleJdbcMappinghasPartitionedSelectionMapping
Inherited from org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping:
getAttributeMetadatagetAttributeNamegetDeclaringTypegetGeneratorgetMutabilityPlangetPartNamegetPropertyAccessgetStateArrayPositionisIncludedInDirtyCheckingisIncludedInOptimisticLockingisSelectableisUpdatable

Method Detail

getFetchableKeyback to summary
public default int getFetchableKey()

Implements org.hibernate.sql.results.graph.Fetchable.getFetchableKey.

Doc from org.hibernate.sql.results.graph.Fetchable.getFetchableKey.

The key that identifies this Fetchable within a FetchableContainer. If this Fetchable is part of FetchableContainer#visitFetchables(IndexedConsumer, EntityMappingType), the values is guaranteed to be between 0 (inclusive) and FetchableContainer#getNumberOfFetchableKeys() (exclusive). Other Fetchable objects may have a special negative value.

The main intent of this key is to index e.g. Fetch objects in an array.

Annotations
@Override
isInsertableback to summary
public boolean isInsertable()

Redeclares org.hibernate.metamodel.mapping.SelectableMapping.isInsertable.

Redeclares as abstract: org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping.isInsertable.

Annotations
@Override
isNullableback to summary
public boolean isNullable()

Redeclares org.hibernate.metamodel.mapping.SelectableMapping.isNullable.

Redeclares as abstract: org.hibernate.metamodel.mapping.internal.SingleAttributeIdentifierMapping.isNullable.

Doc from org.hibernate.metamodel.mapping.SelectableMapping.isNullable.

Is the mapping considered nullable?

Annotations
@Override