public class GrailsOpenSessionInViewInterceptor extends OpenSessionInViewInterceptor
Extends the default spring OSIV and doesn't flush the session if it has been set to MANUAL on the session itself.
Modifiers | Name | Description |
---|---|---|
protected FlushMode |
hibernateFlushMode |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
applyFlushMode(Session session) |
|
protected Session |
openSession() |
|
public void |
postHandle(WebRequest request, ModelMap model) |
|
public void |
setHibernateDatastore(AbstractHibernateDatastore hibernateDatastore) |