public class HibernatePersistenceContextInterceptor extends java.lang.Object implements grails.persistence.support.PersistenceContextInterceptor, SessionFactoryAwarePersistenceContextInterceptor
Constructor and description |
---|
HibernatePersistenceContextInterceptor() |
HibernatePersistenceContextInterceptor(java.lang.String dataSourceName)
|
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
clear() |
|
public void |
destroy() |
|
public void |
disconnect() |
|
public void |
flush() |
|
public org.hibernate.SessionFactory |
getSessionFactory()
|
|
public void |
init() |
|
public boolean |
isOpen() |
|
public void |
reconnect() |
|
public void |
setHibernateDatastore(AbstractHibernateDatastore hibernateDatastore) |
|
public void |
setReadOnly() |
|
public void |
setReadWrite() |
|
public void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
dataSourceName
- a name of dataSource