| Modifier and Type | Class and Description |
|---|---|
| public static enum | Hibernate5JakartaModule.
Enumeration that defines all toggleable features this module |
| Modifier and Type | Field and Description |
|---|---|
| protected final Mapping | _mapping
Hibernate mapping. |
| protected int | _moduleFeatures
Bit flag composed of bits that indicate which
|
| protected final SessionFactory | _sessionFactory
References Deprecated
SessionFactory is deprecated or references (maybe indirectly) at least one deprecated element.
|
| protected static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Hibernate5JakartaModule(SessionFactory sessionFactory)
References Deprecated
SessionFactory is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | Hibernate5JakartaModule(Mapping mapping, SessionFactory sessionFactory)
References Deprecated
SessionFactory is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| protected AnnotationIntrospector | annotationIntrospector()
Method called during |
| public Hibernate5JakartaModule | |
| public Hibernate5JakartaModule | |
| public Hibernate5JakartaModule | |
| public String | getModuleName()
Implements abstract com. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them. |
| public final boolean | |
| public void | setupModule(Module.
Implements abstract com. Method called by |
| public Version | version()
Implements abstract com. Implements com. Method that returns version of this module. |
| _mapping | back to summary |
|---|---|
| protected final Mapping _mapping Hibernate mapping. | |
| _moduleFeatures | back to summary |
|---|---|
| protected int _moduleFeatures Bit flag composed of bits that indicate which
| |
| _sessionFactory | back to summary |
|---|---|
| protected final SessionFactory _sessionFactory
References Deprecated
See corresponding docs for further information. | |
| DEFAULT_FEATURES | back to summary |
|---|---|
| protected static final int DEFAULT_FEATURES | |
| Hibernate5JakartaModule | back to summary |
|---|---|
| public Hibernate5JakartaModule() | |
| Hibernate5JakartaModule | back to summary |
|---|---|
| public Hibernate5JakartaModule(Mapping mapping) | |
| Hibernate5JakartaModule | back to summary |
|---|---|
| public Hibernate5JakartaModule(SessionFactory sessionFactory)
References Deprecated
See corresponding docs for further information. | |
| Hibernate5JakartaModule | back to summary |
|---|---|
| public Hibernate5JakartaModule(Mapping mapping, SessionFactory sessionFactory)
References Deprecated
See corresponding docs for further information. | |
| annotationIntrospector | back to summary |
|---|---|
| protected AnnotationIntrospector annotationIntrospector() Method called during | |
| configure | back to summary |
|---|---|
| public Hibernate5JakartaModule configure(Hibernate5JakartaModule. | |
| disable | back to summary |
|---|---|
| public Hibernate5JakartaModule disable(Hibernate5JakartaModule. | |
| enable | back to summary |
|---|---|
| public Hibernate5JakartaModule enable(Hibernate5JakartaModule. | |
| getModuleName | back to summary |
|---|---|
| public String getModuleName() Implements abstract com. Doc from com. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.
| |
| isEnabled | back to summary |
|---|---|
| public final boolean isEnabled(Hibernate5JakartaModule. | |
| setupModule | back to summary |
|---|---|
| public void setupModule(Module. Implements abstract com. Doc from com. Method called by
| |
| version | back to summary |
|---|---|
| public Version version() Implements abstract com. Implements com. Doc from com. Method that returns version of this module. Can be used by Jackson for informational purposes.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final int | |
| public static final Hibernate5JakartaModule. | FORCE_LAZY_LOADING
Whether lazy-loaded object should be forced to be loaded and then serialized (true); or serialized as nulls (false). |
| public static final Hibernate5JakartaModule. | REPLACE_PERSISTENT_COLLECTIONS
Feature that may be enabled to force
replacement |
| public static final Hibernate5JakartaModule. | REQUIRE_EXPLICIT_LAZY_LOADING_MARKER
This feature determines how |
| public static final Hibernate5JakartaModule. | SERIALIZE_IDENTIFIER_FOR_LAZY_NOT_LOADED_OBJECTS
If FORCE_LAZY_LOADING is false, this feature serializes uninitialized lazy loading proxies as
|
| public static final Hibernate5JakartaModule. | USE_TRANSIENT_ANNOTATION
Whether |
| public static final Hibernate5JakartaModule. | WRAP_IDENTIFIER_IN_OBJECT
Feature that may be disables to unwrap the identifier of the serialized entity, returning a value instead of an object. |
| public static final Hibernate5JakartaModule. | WRITE_MISSING_ENTITIES_AS_NULL
Using |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | collectDefaults()
Method that calculates bit set (flags) of all features that are enabled by default. |
| public boolean | |
| public boolean | |
| public int | |
| public static Hibernate5JakartaModule. | |
| public static Hibernate5JakartaModule. |
| _defaultState | back to summary |
|---|---|
| pack-priv final boolean _defaultState | |
| _mask | back to summary |
|---|---|
| pack-priv final int _mask | |
| FORCE_LAZY_LOADING | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. Whether lazy-loaded object should be forced to be loaded and then serialized (true); or serialized as nulls (false). Default value is false. | |
| REPLACE_PERSISTENT_COLLECTIONS | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. Feature that may be enabled to force
replacement Default setting is false, so that no replacement occurs.
| |
| REQUIRE_EXPLICIT_LAZY_LOADING_MARKER | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. This feature determines how Default value is false, meaning that laziness is considered to be the default value.
| |
| SERIALIZE_IDENTIFIER_FOR_LAZY_NOT_LOADED_OBJECTS | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. If FORCE_LAZY_LOADING is false, this feature serializes uninitialized lazy loading proxies as
Default value is false. Note that the name of the identifier property can only be determined if
| |
| USE_TRANSIENT_ANNOTATION | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. Whether Default value is true. | |
| WRAP_IDENTIFIER_IN_OBJECT | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. Feature that may be disables to unwrap the identifier of the serialized entity, returning a value instead of an object.
| |
| WRITE_MISSING_ENTITIES_AS_NULL | back to summary |
|---|---|
| public static final Hibernate5JakartaModule. Using
| |
| Feature | back to summary |
|---|---|
| private Feature(boolean defaultState) | |
| collectDefaults | back to summary |
|---|---|
| public static int collectDefaults() Method that calculates bit set (flags) of all features that are enabled by default. | |
| enabledByDefault | back to summary |
|---|---|
| public boolean enabledByDefault() | |
| enabledIn | back to summary |
|---|---|
| public boolean enabledIn(int flags) | |
| getMask | back to summary |
|---|---|
| public int getMask() | |
| valueOf | back to summary |
|---|---|
| public static Hibernate5JakartaModule. | |
| values | back to summary |
|---|---|
| public static Hibernate5JakartaModule. | |