Package org.apache.openjpa.junit5
Annotation Type OpenJPASupport
-
@Target(TYPE) @Retention(RUNTIME) @ExtendWith(OpenJPAExtension.class) public @interface OpenJPASupport
Enables in place enhancement for entities listed or found by scanning in test classpath. It enables to run tests from the IDE with enhancement. WARNING: if you use that for tests but don't want to enhance your entities, ensure to clean+recompile them after tests otherwise you will have entities depending on OpenJPA at bytecode level.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
auto
java.lang.String[]
entities
java.lang.Class<?>
logFactory
-
-
-
-
auto
boolean auto
- Returns:
- if true, only directories in the classpath will be browsed to enhance entities,
if false
entities()
will be used.
- Default:
- true
-
-