public class HibernateConnectionSource extends DefaultConnectionSource
Implements the ConnectionSource interface for Hibernate
Modifiers | Name | Description |
---|---|---|
protected ConnectionSource<javax.sql.DataSource, DataSourceSettings> |
dataSource |
Fields inherited from class | Fields |
---|---|
class DefaultConnectionSource |
closed, name, settings, source |
Constructor and description |
---|
HibernateConnectionSource
(java.lang.String name, org.hibernate.SessionFactory sessionFactory, ConnectionSource<javax.sql.DataSource, DataSourceSettings> dataSourceConnectionSource, HibernateConnectionSourceSettings settings) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
close() |
|
public javax.sql.DataSource |
getDataSource()
|
Methods inherited from class | Name |
---|---|
class DefaultConnectionSource |
close, getName, getSettings, getSource |