Top Description Fields Constructors Methods
org.hibernate.engine.internal

public Class ImmutableEntityEntryFactory

extends Object
implements EntityEntryFactory
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.spi.EntityEntryFactory, java.io.Serializable
Imports
java.io.Serializable, java.util.Set, org.hibernate.LockMode, org.hibernate.engine.spi.EntityEntry, .EntityEntryFactory, .PersistenceContext, .Status, org.hibernate.persister.entity.EntityPersister

Factory for the safe approach implementation of org.hibernate.engine.spi.EntityEntry.

Smarter implementations could store less state.

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
public static final ImmutableEntityEntryFactory
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public EntityEntry
createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)

Implements org.hibernate.engine.spi.EntityEntryFactory.createEntityEntry.

Creates org.hibernate.engine.spi.EntityEntry.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableEntityEntryFactory INSTANCE

Singleton access

Constructor Detail

ImmutableEntityEntryFactoryback to summary
private ImmutableEntityEntryFactory()

Method Detail

createEntityEntryback to summary
public EntityEntry createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)

Implements org.hibernate.engine.spi.EntityEntryFactory.createEntityEntry.

Doc from org.hibernate.engine.spi.EntityEntryFactory.createEntityEntry.

Creates org.hibernate.engine.spi.EntityEntry.

Annotations
@Override