public class HibernateConnectionSource extends org.grails.datastore.mapping.core.connections.DefaultConnectionSource
Implements the org.grails.datastore.mapping.core.connections.ConnectionSource interface for Hibernate
Modifiers | Name | Description |
---|---|---|
protected org.grails.datastore.mapping.core.connections.ConnectionSource<javax.sql.DataSource, org.grails.datastore.gorm.jdbc.connections.DataSourceSettings> |
dataSource |
Fields inherited from class | Fields |
---|---|
class org.grails.datastore.mapping.core.connections.DefaultConnectionSource |
DEFAULT, ALL |
Constructor and description |
---|
HibernateConnectionSource(java.lang.String name, org.hibernate.SessionFactory sessionFactory, org.grails.datastore.mapping.core.connections.ConnectionSource<javax.sql.DataSource, org.grails.datastore.gorm.jdbc.connections.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 org.grails.datastore.mapping.core.connections.DefaultConnectionSource |
org.grails.datastore.mapping.core.connections.DefaultConnectionSource#getName(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#close(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#getSource(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#getSettings(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#wait(long, int), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#wait(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#wait(long), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#equals(java.lang.Object), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#toString(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#hashCode(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#getClass(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#notify(), org.grails.datastore.mapping.core.connections.DefaultConnectionSource#notifyAll() |