Example usage for Java org.springframework.orm.hibernate5 LocalSessionFactoryBean fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setDataSource(DataSource dataSource) Set the DataSource to be used by the SessionFactory. |
void | setHibernateProperties(Properties hibernateProperties) Set Hibernate properties, such as "hibernate.dialect". |
void | setPackagesToScan(String... packagesToScan) Specify packages to search for autodetection of your entity classes in the classpath. |