Annotation Interface BytecodeEnhanced
@Inherited
@Retention(RUNTIME)
@ExtendWith(BytecodeEnhancementExtension.class)
public @interface BytecodeEnhanced
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
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 runNotEnhancedAsWellIf set to true, the test will be executed with and without bytecode enhancement within the same execution.- Default:
- false
-
testEnhancedClasses
Class<?>[] testEnhancedClassesEntity 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:
- {}
-