Annotation Interface SessionFactoryFunctionalTesting


@Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) @TestInstance(PER_CLASS) @ExtendWith(FailureExpectedExtension.class) @ExtendWith(SessionFactoryExtension.class) public @interface SessionFactoryFunctionalTesting
Composite annotation for functional tests that require a functioning SessionFactory.
See Also:
API Note:
Applies support for SessionFactory-based testing. Up to the test to define configuration (via ServiceRegistry), mappings (via DomainModel) and/or SessionFactory-options (via SessionFactory). Rather than using these other annotations, tests could just implement building those individual pieces via ServiceRegistryProducer, DomainModelProducer and/or SessionFactoryProducer instead.