- <init>
- afterPropertiesSet
- setDataSource
Set the DataSource to be used by the SessionFactory. If set, this will override
corresponding settin
- setHibernateProperties
Set Hibernate properties, such as "hibernate.dialect".Note: Do not specify a
transaction provider he
- setPackagesToScan
Specify packages to search for autodetection of your entity classes in the
classpath. This is analog
- getMetadataSources
Determine the Hibernate MetadataSources to use.Can also be externally called to
initialize and pre-p
- getObject
- buildSessionFactory
Subclasses can override this method to perform custom initialization of the
SessionFactory instance,
- getResourceLoader
Determine the Spring ResourceLoader to use for Hibernate metadata.
- setMappingLocations
Set locations of Hibernate mapping files, for example as classpath resource
"classpath:example.hbm.x
- getConfiguration
Return the Hibernate Configuration object used to build the SessionFactory.
Allows for access to con
- getHibernateProperties
Return the Hibernate properties, if any. Mainly available for configuration
through property paths t