Java org.hibernate.engine.internal ForeignKeys fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.engine.internal ForeignKeys fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.engine.internal ForeignKeys.

The text is from its open source code.

Method

SerializablegetEntityIdentifierIfNotUnsaved(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.

booleanisNotTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)
Is this instance persistent or detached?