Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
Modifier and Type | Class and Description |
---|---|
class |
TransientPropertyValueException
Thrown when a property cannot be persisted because it is an association
with a transient unsaved entity instance.
|
Modifier and Type | Method and Description |
---|---|
static Serializable |
ForeignKeys.getEntityIdentifierIfNotUnsaved(String entityName,
Object object,
SharedSessionContractImplementor session)
Return the identifier of the persistent or transient object, or throw
an exception if the instance is "unsaved"
Used by OneToOneType and ManyToOneType to determine what id value should
be used for an object that may or may not be associated with the session.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.