Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.collection.internal |
Internal implementations and support for persistent collections
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metamodel.binding | |
org.hibernate.metamodel.source.annotations.entity | |
org.hibernate.metamodel.source.binder | |
org.hibernate.metamodel.source.hbm | |
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.property |
This package abstracts the notion of a "property" of
an entity.
|
org.hibernate.tuple.component | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
static EntityMode |
EntityMode.parse(String entityMode)
Legacy-style entity-mode name parsing.
|
static EntityMode |
EntityMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityMode[] |
EntityMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Object |
Interceptor.instantiate(String entityName,
EntityMode entityMode,
Serializable id)
Instantiate the entity class.
|
Object |
EmptyInterceptor.instantiate(String entityName,
EntityMode entityMode,
Serializable id) |
Modifier and Type | Method and Description |
---|---|
EntityMode |
Settings.getDefaultEntityMode() |
Modifier and Type | Method and Description |
---|---|
protected Serializable |
PersistentSortedSet.snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
protected Serializable |
PersistentSortedMap.snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
Modifier and Type | Method and Description |
---|---|
Serializable[] |
BatchFetchQueue.getEntityBatch(EntityPersister persister,
Serializable id,
int batchSize,
EntityMode entityMode)
Get a batch of unloaded identifiers for this class, using a slightly
complex algorithm that tries to grab keys registered immediately after
the given key.
|
Constructor and Description |
---|
CollectionKey(CollectionPersister persister,
Serializable key,
EntityMode em) |
EntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
EntityUniqueKey(String entityName,
String uniqueKeyName,
Object semiResolvedKey,
Type keyType,
EntityMode entityMode,
SessionFactoryImplementor factory) |
TypedValue(Type type,
Object value,
EntityMode entityMode)
Deprecated.
explicit entity mode support is deprecated
|
Modifier and Type | Method and Description |
---|---|
EntityMode |
StatelessSessionImpl.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
void |
PersistentClass.addTuplizer(EntityMode entityMode,
String implClassName) |
void |
Component.addTuplizer(EntityMode entityMode,
String implClassName) |
String |
Property.getAccessorPropertyName(EntityMode mode) |
String |
PersistentClass.getTuplizerImplClassName(EntityMode mode) |
String |
Component.getTuplizerImplClassName(EntityMode mode) |
String |
Subclass.getTuplizerImplClassName(EntityMode mode) |
Modifier and Type | Method and Description |
---|---|
EntityMode |
HierarchyDetails.getEntityMode() |
Constructor and Description |
---|
EntityBinding(InheritanceType inheritanceType,
EntityMode entityMode)
Used to instantiate the EntityBinding for an entity that is the root of an inheritance hierarchy
|
HierarchyDetails(EntityBinding rootEntityBinding,
InheritanceType inheritanceType,
EntityMode entityMode) |
Modifier and Type | Method and Description |
---|---|
EntityMode |
RootEntitySourceImpl.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
EntityMode |
RootEntitySource.getEntityMode()
Obtain the entity mode for this entity.
|
Modifier and Type | Method and Description |
---|---|
protected EntityMode |
AbstractEntitySourceImpl.determineEntityMode() |
EntityMode |
RootEntitySourceImpl.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
EntityMode |
EntityPersister.getEntityMode() |
EntityMode |
AbstractEntityPersister.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
static PropertyAccessor |
PropertyAccessorFactory.getPropertyAccessor(AttributeBinding property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
PropertyAccessorFactory.getPropertyAccessor(Property property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
Modifier and Type | Method and Description |
---|---|
EntityMode |
ComponentMetamodel.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
ComponentTuplizer |
ComponentTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode,
Component metadata)
Construct am instance of the default tuplizer for the given entity-mode.
|
void |
ComponentTuplizerFactory.registerDefaultTuplizerClass(EntityMode entityMode,
Class<? extends ComponentTuplizer> tuplizerClass)
Method allowing registration of the tuplizer class to use as default for a particular entity-mode.
|
Modifier and Type | Method and Description |
---|---|
EntityMode |
PojoEntityTuplizer.getEntityMode() |
EntityMode |
EntityTuplizer.getEntityMode()
Return the entity-mode handled by this tuplizer instance.
|
EntityMode |
DynamicMapEntityTuplizer.getEntityMode() |
EntityMode |
EntityMetamodel.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
EntityTuplizer |
EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode,
EntityMetamodel metamodel,
EntityBinding entityBinding)
Construct am instance of the default tuplizer for the given entity-mode.
|
EntityTuplizer |
EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode,
EntityMetamodel metamodel,
PersistentClass persistentClass)
Construct am instance of the default tuplizer for the given entity-mode.
|
void |
EntityTuplizerFactory.registerDefaultTuplizerClass(EntityMode entityMode,
Class<? extends EntityTuplizer> tuplizerClass)
Method allowing registration of the tuplizer class to use as default for a particular entity-mode.
|
Modifier and Type | Field and Description |
---|---|
protected EntityMode |
ComponentType.entityMode |
Modifier and Type | Method and Description |
---|---|
EntityMode |
ComponentType.getEntityMode() |
Modifier and Type | Method and Description |
---|---|
Object |
ComponentType.getPropertyValue(Object component,
int i,
EntityMode entityMode) |
Object[] |
ComponentType.getPropertyValues(Object component,
EntityMode entityMode) |
Object[] |
CompositeType.getPropertyValues(Object component,
EntityMode entityMode)
Extract the values of the component properties from the given component instance without access to the
session.
|
Object[] |
CompositeCustomType.getPropertyValues(Object component,
EntityMode entityMode) |
Object[] |
AnyType.getPropertyValues(Object component,
EntityMode entityMode) |
Object |
ComponentType.instantiate(EntityMode entityMode)
This method does not populate the component parent
|
void |
ComponentType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
void |
CompositeType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode)
Inject property values onto the given component instance
An optional operation
|
void |
CompositeCustomType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
void |
AnyType.setPropertyValues(Object component,
Object[] values,
EntityMode entityMode) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.