Example usage for Java org.hibernate.engine.internal ForeignKeys fields, constructors, methods, implement or subclass
The text is from its open source code.
Serializable | getEntityIdentifierIfNotUnsaved(final String entityName, final Object object, final 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. |
boolean | isNotTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session) Is this instance persistent or detached? |