Top Constructors Methods
org.hibernate.tuple.entity

public Class VersionProperty

extends AbstractNonIdentifierAttribute
Class Inheritance
Annotations
@Deprecated
forRemoval:true
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.persister.entity.EntityPersister, org.hibernate.tuple.AbstractNonIdentifierAttribute, .BaselineAttributeInformation, org.hibernate.type.Type

Deprecated

for removal.

Replaced by org.hibernate.metamodel.mapping.EntityVersionMapping

Constructor Summary

AccessConstructor and Description
public
VersionProperty(EntityPersister
Reference back to the source of this attribute (the persister)
source
,
SessionFactoryImplementor
The session factory this is part of.
sessionFactory
,
int
The attribute number within thje
attributeNumber
,
String
The name by which the property can be referenced within its owner.
attributeName
,
Type
The Hibernate Type of this property.
attributeType
,
BaselineAttributeInformation
The basic attribute information. this (i.e., the version) property, represents new (i.e., un-saved) instances of the owning entity.
attributeInformation
)

Deprecated as a consequence of SessionFactoryImplementor and BaselineAttributeInformation being deprecated.
Constructs VersionProperty instances.

Method Summary

Inherited from org.hibernate.tuple.AbstractNonIdentifierAttribute:
attributeNumbergetCascadeStylegetFetchModegetSourceisDirtyCheckableisDirtyCheckableisInsertableisLazyisNullableisUpdateableisVersionableloggableMetadatasessionFactorysourcetoString

Constructor Detail

VersionPropertyback to summary
public VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)

Deprecated

as a consequence of SessionFactoryImplementor and BaselineAttributeInformation being deprecated. See corresponding docs for further information.

Constructs VersionProperty instances.

Parameters
source:EntityPersister

Reference back to the source of this attribute (the persister)

sessionFactory:SessionFactoryImplementor

The session factory this is part of.

attributeNumber:int

The attribute number within thje

attributeName:String

The name by which the property can be referenced within its owner.

attributeType:Type

The Hibernate Type of this property.

attributeInformation:BaselineAttributeInformation

The basic attribute information. this (i.e., the version) property, represents new (i.e., un-saved) instances of the owning entity.