Package | Description |
---|---|
org.springframework.orm.hibernate4 |
Package providing integration of
Hibernate 4.x
with Spring concepts.
|
Modifier and Type | Method and Description |
---|---|
LocalSessionFactoryBuilder |
LocalSessionFactoryBuilder.addAnnotatedClasses(Class<?>... annotatedClasses)
Add the given annotated classes in a batch.
|
LocalSessionFactoryBuilder |
LocalSessionFactoryBuilder.addPackages(String... annotatedPackages)
Add the given annotated packages in a batch.
|
LocalSessionFactoryBuilder |
LocalSessionFactoryBuilder.scanPackages(String... packagesToScan)
Perform Spring-based scanning for entity classes, registering them
as annotated classes with this
Configuration . |
LocalSessionFactoryBuilder |
LocalSessionFactoryBuilder.setJtaTransactionManager(Object jtaTransactionManager)
Set the Spring
JtaTransactionManager or the JTA TransactionManager
to be used with Hibernate, if any. |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.SessionFactory |
LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBuilder sfb)
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.
|
Copyright © 2017. All rights reserved.