Author: gbadner
Date: 2009-11-11 13:56:29 -0500 (Wed, 11 Nov 2009)
New Revision: 17958
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/AbstractDelegateSessionImplementor.java
Log:
HHH-2762 : Add
AbstractDelegateSessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges()
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/AbstractDelegateSessionImplementor.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/AbstractDelegateSessionImplementor.java 2009-11-11
16:50:34 UTC (rev 17957)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/AbstractDelegateSessionImplementor.java 2009-11-11
18:56:29 UTC (rev 17958)
@@ -45,6 +45,7 @@
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 @@
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();
}
Show replies by date