Java org.springframework.orm.hibernate5 LocalSessionFactoryBean fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.orm.hibernate5 LocalSessionFactoryBean fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.orm.hibernate5 LocalSessionFactoryBean.

The text is from its open source code.

Subclass

org.springframework.orm.hibernate5.LocalSessionFactoryBean has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidsetDataSource(DataSource dataSource)
Set the DataSource to be used by the SessionFactory.
voidsetHibernateProperties(Properties hibernateProperties)
Set Hibernate properties, such as "hibernate.dialect".
voidsetPackagesToScan(String... packagesToScan)
Specify packages to search for autodetection of your entity classes in the classpath.