mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-12602 - Bytecode Enhancement documentation refers to removed property hibernate.ejb.use_class_enhancer
This commit is contained in:
parent
5edb2e441f
commit
1a91a38cbd
@ -25,10 +25,18 @@ will focus on the means Hibernate already exposes for performing these enhanceme
|
|||||||
|
|
||||||
=== Run-time enhancement
|
=== Run-time enhancement
|
||||||
|
|
||||||
Currently run-time enhancement of the domain model is only supported in managed JPA environments following the
|
Currently run-time enhancement of the domain model is only supported in managed JPA environments following the JPA defined SPI for performing class transformations.
|
||||||
JPA defined SPI for performing class transformations. Even then, this support is disabled by default. In this
|
|
||||||
scenario, run-time enhancement can be enabled by specifying `hibernate.ejb.use_class_enhancer=true` as a
|
Even then, this support is disabled by default. To enable run-time enhancement, specify one of the following configuration properties:
|
||||||
persistent unit property.
|
|
||||||
|
`*hibernate.enhancer.enableDirtyTracking*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable dirty tracking feature in runtime bytecode enhancement.
|
||||||
|
|
||||||
|
`*hibernate.enhancer.enableLazyInitialization*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable lazy loading feature in runtime bytecode enhancement. This way, even basic types (e.g. `@Basic(fetch = FetchType.LAZY`)) can be fetched lazily.
|
||||||
|
|
||||||
|
`*hibernate.enhancer.enableAssociationManagement*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable association management feature in runtime bytecode enhancement which automatically synchronizes a bidirectional association when only one side is changed.
|
||||||
|
|
||||||
|
|
||||||
=== Build-time enhancement
|
=== Build-time enhancement
|
||||||
|
@ -108,8 +108,17 @@ These are hard to discuss without diving into a discussion of Hibernate internal
|
|||||||
===== Run-time enhancement
|
===== Run-time enhancement
|
||||||
|
|
||||||
Currently, run-time enhancement of the domain model is only supported in managed JPA environments following the JPA-defined SPI for performing class transformations.
|
Currently, run-time enhancement of the domain model is only supported in managed JPA environments following the JPA-defined SPI for performing class transformations.
|
||||||
Even then, this support is disabled by default.
|
|
||||||
To enable run-time enhancement, specify `hibernate.ejb.use_class_enhancer`=`true` as a persistent unit property.
|
Even then, this support is disabled by default. To enable run-time enhancement, specify one of the following configuration properties:
|
||||||
|
|
||||||
|
`*hibernate.enhancer.enableDirtyTracking*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable dirty tracking feature in runtime bytecode enhancement.
|
||||||
|
|
||||||
|
`*hibernate.enhancer.enableLazyInitialization*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable lazy loading feature in runtime bytecode enhancement. This way, even basic types (e.g. `@Basic(fetch = FetchType.LAZY`)) can be fetched lazily.
|
||||||
|
|
||||||
|
`*hibernate.enhancer.enableAssociationManagement*` (e.g. `true` or `false` (default value))::
|
||||||
|
Enable association management feature in runtime bytecode enhancement which automatically synchronizes a bidirectional association when only one side is changed.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
====
|
====
|
||||||
|
Loading…
x
Reference in New Issue
Block a user