Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
Modifier and Type | Method and Description |
---|---|
SessionFactoryBuilder |
SessionFactoryBuilder.applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate)
Names the
EntityNotFoundDelegate to be applied to the SessionFactory. |
Modifier and Type | Class and Description |
---|---|
class |
StandardEntityNotFoundDelegate
Standard non-JPA implementation of EntityNotFoundDelegate, throwing the
Hibernate-specific
ObjectNotFoundException . |
Modifier and Type | Method and Description |
---|---|
EntityNotFoundDelegate |
SessionFactoryOptionsBuilder.getEntityNotFoundDelegate() |
Modifier and Type | Method and Description |
---|---|
SessionFactoryBuilder |
SessionFactoryBuilderImpl.applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) |
void |
SessionFactoryOptionsBuilder.applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) |
Modifier and Type | Method and Description |
---|---|
EntityNotFoundDelegate |
AbstractDelegatingSessionFactoryOptions.getEntityNotFoundDelegate() |
EntityNotFoundDelegate |
SessionFactoryOptions.getEntityNotFoundDelegate()
Get the delegate for handling entity-not-found exception conditions.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractDelegatingSessionFactoryBuilder.applyEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate) |
Modifier and Type | Method and Description |
---|---|
EntityNotFoundDelegate |
Configuration.getEntityNotFoundDelegate()
Retrieve the user-supplied delegate to handle non-existent entity
scenarios.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setEntityNotFoundDelegate(EntityNotFoundDelegate entityNotFoundDelegate)
Specify a user-supplied delegate to be used to handle scenarios where an entity could not be
located by specified id.
|
Modifier and Type | Method and Description |
---|---|
EntityNotFoundDelegate |
SessionFactoryDelegatingImpl.getEntityNotFoundDelegate() |
EntityNotFoundDelegate |
SessionFactoryImplementor.getEntityNotFoundDelegate() |
Modifier and Type | Method and Description |
---|---|
EntityNotFoundDelegate |
SessionFactoryImpl.getEntityNotFoundDelegate() |
Copyright © 2020 JBoss by Red Hat. All rights reserved.