Interface BytecodeSettings

  • All Known Subinterfaces:
    AvailableSettings
    All Known Implementing Classes:
    Environment

    public interface BytecodeSettings
    Settings which control the BytecodeProvider used for bytecode enhancement and reflection optimization.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BYTECODE_PROVIDER
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed, Hibernate ORM will use the BytecodeProvider implementation it finds on the classpath loading it via the standard ServiceLoader mechanism.
      static String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
      Enable association management feature in runtime bytecode enhancement
      static String ENHANCER_ENABLE_DIRTY_TRACKING
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed without replacement.
      static String ENHANCER_ENABLE_LAZY_INITIALIZATION
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed without replacement.
    • Field Detail

      • BYTECODE_PROVIDER

        @Deprecated(forRemoval=true)
        static final String BYTECODE_PROVIDER
        Deprecated, for removal: This API element is subject to removal in a future version.
        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.

        See Also:
        Constant Field Values
        Default Value:
        "bytebuddy"
      • ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT

        static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
        Enable association management feature in runtime bytecode enhancement
        See Also:
        Constant Field Values
        Default Value:
        false
      • ENHANCER_ENABLE_DIRTY_TRACKING

        @Deprecated(forRemoval=true)
        static final String ENHANCER_ENABLE_DIRTY_TRACKING
        Deprecated, for removal: This API element is subject to removal in a future version.
        Will be removed without replacement. See HHH-15641
        See Also:
        Constant Field Values
      • ENHANCER_ENABLE_LAZY_INITIALIZATION

        @Deprecated(forRemoval=true)
        static final String ENHANCER_ENABLE_LAZY_INITIALIZATION
        Deprecated, for removal: This API element is subject to removal in a future version.
        Will be removed without replacement. See HHH-15641
        See Also:
        Constant Field Values