LocalSessionFactoryBuilder(@Nullable dataSource: DataSource)
Create a new LocalSessionFactoryBuilder for the given DataSource.
dataSource - the JDBC DataSource that the resulting Hibernate SessionFactory should be using (may be null)
LocalSessionFactoryBuilder(@Nullable dataSource: DataSource, classLoader: ClassLoader)
Create a new LocalSessionFactoryBuilder for the given DataSource.
dataSource - the JDBC DataSource that the resulting Hibernate SessionFactory should be using (may be null)
classLoader - the ClassLoader to load application classes from
LocalSessionFactoryBuilder(@Nullable dataSource: DataSource, resourceLoader: ResourceLoader)
Create a new LocalSessionFactoryBuilder for the given DataSource.
dataSource - the JDBC DataSource that the resulting Hibernate SessionFactory should be using (may be null)
resourceLoader - the ResourceLoader to load application classes from
LocalSessionFactoryBuilder(@Nullable dataSource: DataSource, resourceLoader: ResourceLoader, metadataSources: MetadataSources)
Create a new LocalSessionFactoryBuilder for the given DataSource.
dataSource - the JDBC DataSource that the resulting Hibernate SessionFactory should be using (may be null)
resourceLoader - the ResourceLoader to load application classes from
metadataSources - the Hibernate MetadataSources service to use (e.g. reusing an existing one)
Since
4.3