public abstract class AbstractHibernateConnectionSourceFactory extends AbstractConnectionSourceFactory
Constructs a Hibernate org.hibernate.SessionFactory
Modifiers | Name | Description |
---|---|---|
protected DataSourceConnectionSourceFactory |
dataSourceConnectionSourceFactory |
Type Params | Return Type | Name and description |
---|---|---|
<F extends ConnectionSourceSettings> |
public HibernateConnectionSourceSettings |
buildRuntimeSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings) |
<F extends ConnectionSourceSettings> |
protected HibernateConnectionSourceSettings |
buildSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings, boolean isDefaultDataSource) |
|
public ConnectionSource<org.hibernate.SessionFactory, HibernateConnectionSourceSettings> |
create(java.lang.String name, HibernateConnectionSourceSettings settings) |
|
public abstract ConnectionSource<org.hibernate.SessionFactory, HibernateConnectionSourceSettings> |
create(java.lang.String name, ConnectionSource<javax.sql.DataSource, DataSourceSettings> dataSourceConnectionSource, HibernateConnectionSourceSettings settings) Creates a ConnectionSource for the given DataSource |
|
public java.io.Serializable |
getConnectionSourcesConfigurationKey() |
|
public void |
setDataSourceConnectionSourceFactory(DataSourceConnectionSourceFactory dataSourceConnectionSourceFactory) Sets the factory for creating SQL javax.sql.DataSource connection sources |
Methods inherited from class | Name |
---|---|
class AbstractConnectionSourceFactory |
buildRuntimeSettings, buildSettings, create, create, create, createRuntime, setCustomTypes, setTenantResolver |
Creates a ConnectionSource for the given DataSource
name
- The namedataSourceConnectionSource
- The data source connection sourcesettings
- The settingsSets the factory for creating SQL javax.sql.DataSource connection sources