Package | Description |
---|---|
org.hibernate.jpa.event.spi |
The SPI contracts for supporting JPA lifecycle callbacks.
|
Modifier and Type | Method and Description |
---|---|
CallbackType |
Callback.getCallbackType()
The type of callback (pre-update, pre-persist, etc) handled
|
static CallbackType |
CallbackType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallbackType[] |
CallbackType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CallbackRegistry.hasRegisteredCallbacks(Class entityClass,
CallbackType callbackType)
Do we have any registered callbacks of the given type for the given entity?
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.