Package org.hibernate.testing.orm.junit
Interface SessionFactoryProducer
- All Known Implementing Classes:
BaseSessionFactoryFunctionalTest
public interface SessionFactoryProducer
Contract for something that can build a SessionFactory.
Used by SessionFactoryScopeExtension to create the
SessionFactoryScope.
Generally speaking, a test class would implement SessionFactoryScopeContainer
and return the SessionFactoryProducer to be used for those tests.
The SessionFactoryProducer is then used to build the SessionFactoryScope
which is injected back into the SessionFactoryScopeContainer
- See Also:
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
produceSessionFactory
-