Package | Description |
---|---|
org.hibernate.ejb.engine.spi | |
org.hibernate.engine.spi | |
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.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
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.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 | Class and Description |
---|---|
class |
EJB3CascadeStyle
Becasue CascadeStyle is not opened and package protected,
I need to subclass and override the persist alias
Note that This class has to be triggered by EJB3PersistEventListener at class loading time
TODO get rid of it for 3.3
|
Modifier and Type | Field and Description |
---|---|
static CascadeStyle |
EJB3CascadeStyle.PERSIST_EJB3
cascade using EJB3CascadingAction
|
Modifier and Type | Class and Description |
---|---|
static class |
CascadeStyle.MultipleCascadeStyle |
Modifier and Type | Field and Description |
---|---|
static CascadeStyle |
CascadeStyle.ALL
save / delete / update / evict / lock / replicate / merge / persist
|
static CascadeStyle |
CascadeStyle.ALL_DELETE_ORPHAN
save / delete / update / evict / lock / replicate / merge / persist + delete orphans
|
static CascadeStyle |
CascadeStyle.DELETE
delete
|
static CascadeStyle |
CascadeStyle.DELETE_ORPHAN
delete + delete orphans
|
static CascadeStyle |
CascadeStyle.EVICT
evict
|
static CascadeStyle |
CascadeStyle.LOCK
lock
|
static CascadeStyle |
CascadeStyle.MERGE
merge
|
static CascadeStyle |
CascadeStyle.NONE
no cascades
|
static CascadeStyle |
CascadeStyle.PERSIST
create
|
static CascadeStyle |
CascadeStyle.REFRESH
refresh
|
static CascadeStyle |
CascadeStyle.REPLICATE
replicate
|
static CascadeStyle |
CascadeStyle.UPDATE
save / update
|
Modifier and Type | Field and Description |
---|---|
static Map<String,CascadeStyle> |
CascadeStyle.STYLES |
Modifier and Type | Method and Description |
---|---|
static CascadeStyle |
CascadeStyle.getCascadeStyle(String cascade)
Factory method for obtaining named cascade styles
|
Constructor and Description |
---|
CascadeStyle.MultipleCascadeStyle(CascadeStyle[] styles) |
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
|
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 |
---|---|
CascadeStyle |
Property.getCascadeStyle() |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
ManyToOneAttributeBinding.getCascadeStyle() |
CascadeStyle |
AssociationAttributeBinding.getCascadeStyle()
Obtain the cascade style in effect for this association.
|
CascadeStyle |
AbstractPluralAttributeBinding.getCascadeStyle() |
CascadeStyle |
CascadeType.toCascadeStyle() |
Modifier and Type | Method and Description |
---|---|
void |
ManyToOneAttributeBinding.setCascadeStyles(Iterable<CascadeStyle> cascadeStyles) |
void |
AssociationAttributeBinding.setCascadeStyles(Iterable<CascadeStyle> cascadeStyles)
Set the cascade styles in effect for this association.
|
void |
AbstractPluralAttributeBinding.setCascadeStyles(Iterable<CascadeStyle> cascadeStyles) |
Modifier and Type | Method and Description |
---|---|
static CascadeStyle |
EnumConversionHelper.cascadeTypeToCascadeStyle(CascadeType cascadeType) |
Modifier and Type | Method and Description |
---|---|
static Set<CascadeStyle> |
EnumConversionHelper.cascadeTypeToCascadeStyleSet(Set<CascadeType> cascadeTypes) |
Modifier and Type | Method and Description |
---|---|
Iterable<CascadeStyle> |
ToOneAttributeSourceImpl.getCascadeStyles() |
Modifier and Type | Method and Description |
---|---|
Iterable<CascadeStyle> |
AssociationAttributeSource.getCascadeStyles()
Obtain the cascade styles to be applied to this association.
|
Modifier and Type | Method and Description |
---|---|
Iterable<CascadeStyle> |
AbstractPluralAttributeSourceImpl.getCascadeStyles() |
static Iterable<CascadeStyle> |
Helper.interpretCascadeStyles(String cascades,
LocalBindingContext bindingContext) |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
OuterJoinLoadable.getCascadeStyle(int i)
Get the cascade style of this (subclass closure) property
|
CascadeStyle |
AbstractEntityPersister.getCascadeStyle(int i) |
CascadeStyle[] |
EntityPersister.getPropertyCascadeStyles()
Get the cascade styles of the properties (optional operation)
|
CascadeStyle[] |
AbstractEntityPersister.getPropertyCascadeStyles() |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
StandardProperty.getCascadeStyle() |
Constructor and Description |
---|
StandardProperty(String name,
String node,
Type type,
boolean lazy,
boolean insertable,
boolean updateable,
boolean insertGenerated,
boolean updateGenerated,
boolean nullable,
boolean checkable,
boolean versionable,
CascadeStyle cascadeStyle,
FetchMode fetchMode)
Constructs StandardProperty instances.
|
VersionProperty(String name,
String node,
Type type,
boolean lazy,
boolean insertable,
boolean updateable,
boolean insertGenerated,
boolean updateGenerated,
boolean nullable,
boolean checkable,
boolean versionable,
CascadeStyle cascadeStyle,
VersionValue unsavedValue)
Constructs VersionProperty instances.
|
Modifier and Type | Method and Description |
---|---|
CascadeStyle[] |
EntityMetamodel.getCascadeStyles() |
Modifier and Type | Method and Description |
---|---|
CascadeStyle |
CompositeType.getCascadeStyle(int index)
Retrieve the cascade style of the indicated component property.
|
CascadeStyle |
CompositeCustomType.getCascadeStyle(int i) |
CascadeStyle |
ComponentType.getCascadeStyle(int i) |
CascadeStyle |
AnyType.getCascadeStyle(int i) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.