JavaScript is disabled on your browser.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Add the given annotated classes in a batch.
Add the given annotated packages in a batch.
Perform Spring-based scanning for entity classes, registering them
as annotated classes with this Configuration
.
LocalSessionFactoryBuilder. setBeanContainer (org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Set a Hibernate
BeanContainer
for the given Spring
ConfigurableListableBeanFactory
.
LocalSessionFactoryBuilder. setEntityTypeFilters (org.springframework.core.type.filter.TypeFilter... entityTypeFilters)
Specify custom type filters for Spring-based scanning for entity classes.
Set the Spring
JtaTransactionManager
or the JTA
TransactionManager
to be used with Hibernate, if any.
Subclasses can override this method to perform custom initialization
of the SessionFactory instance, creating it via the given Configuration
object that got prepared by this LocalSessionFactoryBean.