Annotation Interface BytecodeEnhanced


@Inherited @Retention(RUNTIME) @ExtendWith(BytecodeEnhancementExtension.class) public @interface BytecodeEnhanced
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If set to true, the test will be executed with and without bytecode enhancement within the same execution.
    Class<?>[]
    Entity classes will be checked whether they were enhanced or not depending on the context the test is executed in.
  • Element Details

    • runNotEnhancedAsWell

      boolean runNotEnhancedAsWell
      If set to true, the test will be executed with and without bytecode enhancement within the same execution.
      Default:
      false
    • testEnhancedClasses

      Class<?>[] testEnhancedClasses
      Entity classes will be checked whether they were enhanced or not depending on the context the test is executed in. Enhancement check simply verifies that the class has any methods starting with $$_hibernate_
      Default:
      {}