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.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metamodel.binding | |
org.hibernate.metamodel.source.annotations | |
org.hibernate.metamodel.source.annotations.attribute | |
org.hibernate.metamodel.source.binder | |
org.hibernate.metamodel.source.hbm | |
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.persister.walking.internal | |
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
org.hibernate.tuple.component | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Field and Description |
---|---|
static FetchMode |
FetchMode.EAGER
Deprecated.
use FetchMode.JOIN
|
static FetchMode |
FetchMode.LAZY
Deprecated.
use FetchMode.SELECT
|
Modifier and Type | Method and Description |
---|---|
static FetchMode |
FetchMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FetchMode[] |
FetchMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.setFetchMode(String associationPath,
FetchMode mode)
Specify an association fetching strategy for an association or a
collection of values.
|
Modifier and Type | Method and Description |
---|---|
static FetchMode |
AnnotationBinder.getFetchMode(FetchType fetch) |
Modifier and Type | Method and Description |
---|---|
DetachedCriteria |
DetachedCriteria.setFetchMode(String associationPath,
FetchMode mode)
Set the fetch mode for a given association
|
Modifier and Type | Method and Description |
---|---|
FetchMode |
CriteriaImpl.getFetchMode(String path) |
Modifier and Type | Method and Description |
---|---|
Criteria |
CriteriaImpl.setFetchMode(String associationPath,
FetchMode mode) |
Criteria |
CriteriaImpl.Subcriteria.setFetchMode(String associationPath,
FetchMode mode) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
JoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle)
Determine the appropriate associationType of join (if any) to use to fetch the
given association.
|
protected JoinType |
JoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth)
Determine the appropriate type of join (if any) to use to fetch the
given association.
|
protected boolean |
JoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
Override on subclasses to enable or suppress joining
of certain association types
|
protected boolean |
AbstractEntityJoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle)
The superclass deliberately excludes collections
|
protected boolean |
JoinWalker.isJoinedFetchEnabledInMapping(FetchMode config,
AssociationType type)
Does the mapping, and Hibernate default semantics, specify that
this association should be fetched by outer joining
|
Modifier and Type | Method and Description |
---|---|
protected JoinType |
BasicCollectionJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
CriteriaJoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle) |
protected JoinType |
CriteriaJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
protected JoinType |
EntityJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
String lhsTable,
String[] lhsColumns,
boolean nullable,
int currentDepth) |
protected boolean |
CascadeEntityJoinWalker.isJoinedFetchEnabled(AssociationType type,
FetchMode config,
CascadeStyle cascadeStyle) |
Modifier and Type | Method and Description |
---|---|
FetchMode |
Value.getFetchMode() |
FetchMode |
Collection.getFetchMode() |
FetchMode |
SimpleValue.getFetchMode() |
FetchMode |
ToOne.getFetchMode() |
FetchMode |
OneToMany.getFetchMode() |
FetchMode |
Fetchable.getFetchMode() |
Modifier and Type | Method and Description |
---|---|
void |
Collection.setFetchMode(FetchMode fetchMode) |
void |
ToOne.setFetchMode(FetchMode fetchMode) |
void |
Fetchable.setFetchMode(FetchMode joinedFetch) |
Modifier and Type | Method and Description |
---|---|
FetchMode |
AbstractPluralAttributeBinding.getFetchMode() |
FetchMode |
AssociationAttributeBinding.getFetchMode()
Deprecated.
|
FetchMode |
ManyToOneAttributeBinding.getFetchMode() |
Modifier and Type | Method and Description |
---|---|
static FetchMode |
EnumConversionHelper.annotationFetchModeToHibernateFetchMode(FetchMode annotationFetchMode) |
Modifier and Type | Method and Description |
---|---|
FetchMode |
ToOneAttributeSourceImpl.getFetchMode() |
FetchMode |
AssociationAttribute.getFetchMode() |
Modifier and Type | Method and Description |
---|---|
FetchMode |
ManyToManyPluralAttributeElementSource.getFetchMode() |
FetchMode |
AssociationAttributeSource.getFetchMode()
Obtain the fetch mode to be applied to this association.
|
Modifier and Type | Method and Description |
---|---|
FetchMode |
ManyToManyPluralAttributeElementSourceImpl.getFetchMode() |
FetchMode |
AbstractPluralAttributeSourceImpl.getFetchMode() |
Modifier and Type | Method and Description |
---|---|
FetchMode |
AbstractCollectionPersister.getFetchMode() |
FetchMode |
QueryableCollection.getFetchMode()
Should we load this collection role by outerjoining?
|
Modifier and Type | Method and Description |
---|---|
FetchMode |
AbstractEntityPersister.getFetchMode(int i) |
FetchMode |
OuterJoinLoadable.getFetchMode(int i)
May this (subclass closure) property be fetched using an SQL outerjoin?
|
Modifier and Type | Method and Description |
---|---|
static FetchStyle |
FetchStrategyHelper.determineFetchStyleByMetadata(FetchMode mappingFetchMode,
AssociationType type,
SessionFactoryImplementor sessionFactory) |
Modifier and Type | Method and Description |
---|---|
FetchMode |
BaselineAttributeInformation.getFetchMode() |
FetchMode |
NonIdentifierAttribute.getFetchMode() |
FetchMode |
AbstractNonIdentifierAttribute.getFetchMode() |
Modifier and Type | Method and Description |
---|---|
BaselineAttributeInformation.Builder |
BaselineAttributeInformation.Builder.setFetchMode(FetchMode fetchMode) |
Constructor and Description |
---|
BaselineAttributeInformation(boolean lazy,
boolean insertable,
boolean updateable,
ValueGeneration valueGenerationStrategy,
boolean nullable,
boolean dirtyCheckable,
boolean versionable,
CascadeStyle cascadeStyle,
FetchMode fetchMode) |
StandardProperty(String name,
Type type,
boolean lazy,
boolean insertable,
boolean updateable,
ValueGeneration valueGenerationStrategy,
boolean nullable,
boolean checkable,
boolean versionable,
CascadeStyle cascadeStyle,
FetchMode fetchMode)
Deprecated.
Constructs NonIdentifierProperty instances.
|
Modifier and Type | Method and Description |
---|---|
protected FetchStyle |
CompositeBasedAssociationAttribute.determineFetchStyleByMetadata(FetchMode fetchMode,
AssociationType type) |
Modifier and Type | Method and Description |
---|---|
FetchMode |
ComponentType.getFetchMode(int i) |
FetchMode |
CompositeType.getFetchMode(int index)
Retrieve the fetch mode of the indicated component property.
|
FetchMode |
CompositeCustomType.getFetchMode(int i) |
FetchMode |
AnyType.getFetchMode(int i) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.