Top Description Fields
org.hibernate.cfg

public Interface BytecodeSettings

Known Direct Subinterfaces
org.hibernate.cfg.AvailableSettings

Settings which control the org.hibernate.bytecode.spi.BytecodeProvider used for bytecode enhancement and reflection optimization.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
BYTECODE_PROVIDER

Selects a bytecode enhancement library.

public static final String
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT

Enable association management feature in runtime bytecode enhancement

public static final String
ENHANCER_ENABLE_DIRTY_TRACKING

Deprecated for removal. Will be removed without replacement. See HHH-15641
public static final String
ENHANCER_ENABLE_LAZY_INITIALIZATION

Deprecated for removal. Will be removed without replacement. See HHH-15641

Field Detail

BYTECODE_PROVIDERback to summary
public static final String BYTECODE_PROVIDER

Deprecated

for removal.

Will be removed, Hibernate ORM will use the BytecodeProvider implementation it finds on the classpath loading it via the standard ServiceLoader mechanism. Currently, there is only a single implementation which is included in Hibernate ORM, so it's not possible to override this. See HHH-17643

Selects a bytecode enhancement library.

At present only bytebuddy is supported, bytebuddy being the default since version 5.3.

Annotations
@Deprecated
forRemoval:true
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENTback to summary
public static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT

Enable association management feature in runtime bytecode enhancement

ENHANCER_ENABLE_DIRTY_TRACKINGback to summary
public static final String ENHANCER_ENABLE_DIRTY_TRACKING

Deprecated

for removal.

Will be removed without replacement. See HHH-15641

Annotations
@Deprecated
forRemoval:true
@SuppressWarnings:DeprecatedIsStillUsed
ENHANCER_ENABLE_LAZY_INITIALIZATIONback to summary
public static final String ENHANCER_ENABLE_LAZY_INITIALIZATION

Deprecated

for removal.

Will be removed without replacement. See HHH-15641

Annotations
@SuppressWarnings:DeprecatedIsStillUsed
@Deprecated
forRemoval:true