HHH-2762 : Add AbstractDelegateSessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges()

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17958 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2009-11-11 18:56:29 +00:00
parent 2db1718bf7
commit c97e15d28f
1 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,7 @@ import org.hibernate.engine.PersistenceContext;
import org.hibernate.engine.QueryParameters;
import org.hibernate.engine.SessionFactoryImplementor;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.engine.NonFlushedChanges;
import org.hibernate.engine.query.sql.NativeSQLQuerySpecification;
import org.hibernate.event.EventListeners;
import org.hibernate.impl.CriteriaImpl;
@ -216,6 +217,14 @@ public abstract class AbstractDelegateSessionImplementor implements SessionImple
return delegate.executeNativeUpdate(specification, queryParameters);
}
public NonFlushedChanges getNonFlushedChanges() throws HibernateException {
return delegate.getNonFlushedChanges();
}
public void applyNonFlushedChanges(NonFlushedChanges nonFlushedChanges) throws HibernateException {
delegate.applyNonFlushedChanges( nonFlushedChanges );
}
public EntityMode getEntityMode() {
return delegate.getEntityMode();
}