Package | Description |
---|---|
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
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 |
---|---|
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Modifier and Type | Method and Description |
---|---|
ForeignKeyDirection |
OneToOne.getForeignKeyType()
Returns the foreignKeyType.
|
Modifier and Type | Method and Description |
---|---|
void |
OneToOne.setForeignKeyType(ForeignKeyDirection foreignKeyType)
Sets the foreignKeyType.
|
Modifier and Type | Field and Description |
---|---|
static ForeignKeyDirection |
ForeignKeyDirection.FOREIGN_KEY_FROM_PARENT
A foreign key from parent to child
|
static ForeignKeyDirection |
ForeignKeyDirection.FOREIGN_KEY_TO_PARENT
A foreign key from child to parent
|
Modifier and Type | Method and Description |
---|---|
ForeignKeyDirection |
OneToOneType.getForeignKeyDirection() |
ForeignKeyDirection |
ManyToOneType.getForeignKeyDirection() |
ForeignKeyDirection |
CollectionType.getForeignKeyDirection() |
ForeignKeyDirection |
AssociationType.getForeignKeyDirection()
Get the foreign key directionality of this association
|
ForeignKeyDirection |
AnyType.getForeignKeyDirection() |
Modifier and Type | Method and Description |
---|---|
EntityType |
TypeFactory.oneToOne(String persistentClass,
ForeignKeyDirection foreignKeyType,
boolean referenceToPrimaryKey,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName) |
EntityType |
TypeFactory.oneToOne(String persistentClass,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
boolean isEmbeddedInXML,
String entityName,
String propertyName)
Deprecated.
Use
#oneToOne(String, ForeignKeyDirection, String, boolean, boolean, String, String, boolean) instead.
See Jira issue: HHH-7771 |
EntityType |
TypeFactory.oneToOne(String persistentClass,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName)
Deprecated.
Use
#oneToOne(String, ForeignKeyDirection, String, boolean, boolean, String, String, boolean) instead. |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
Object |
Type.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
ComponentType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractStandardBasicType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
static Object[] |
TypeHelper.replaceAssociations(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values, as long as the corresponding
Type is an association. |
EntityType |
TypeFactory.specialOneToOne(String persistentClass,
ForeignKeyDirection foreignKeyType,
boolean referenceToPrimaryKey,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName) |
EntityType |
TypeFactory.specialOneToOne(String persistentClass,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName)
Deprecated.
Use
#specialOneToOne(String, ForeignKeyDirection, String, boolean, boolean, String, String, boolean) instead. |
Constructor and Description |
---|
OneToOneType(TypeFactory.TypeScope scope,
String referencedEntityName,
ForeignKeyDirection foreignKeyType,
boolean referenceToPrimaryKey,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName) |
OneToOneType(TypeFactory.TypeScope scope,
String referencedEntityName,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
boolean isEmbeddedInXML,
String entityName,
String propertyName)
Deprecated.
|
OneToOneType(TypeFactory.TypeScope scope,
String referencedEntityName,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName)
|
SpecialOneToOneType(TypeFactory.TypeScope scope,
String referencedEntityName,
ForeignKeyDirection foreignKeyType,
boolean referenceToPrimaryKey,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName) |
SpecialOneToOneType(TypeFactory.TypeScope scope,
String referencedEntityName,
ForeignKeyDirection foreignKeyType,
String uniqueKeyPropertyName,
boolean lazy,
boolean unwrapProxy,
String entityName,
String propertyName)
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.