From 54bb0cb28400a18a0f4c14667a217b8f115f4cab Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Thu, 14 Feb 2013 10:48:35 -0500 Subject: [PATCH] HHH-7992 Updated to reflect Session SPI change --- .../org/hibernate/engine/spi/SessionDelegatorBaseImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java index 0949c78fb2..9e2686574c 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java @@ -57,7 +57,6 @@ import org.hibernate.collection.spi.PersistentCollection; import org.hibernate.engine.jdbc.spi.JdbcConnectionAccess; import org.hibernate.engine.query.spi.sql.NativeSQLQuerySpecification; import org.hibernate.engine.transaction.spi.TransactionCoordinator; -import org.hibernate.internal.CriteriaImpl; import org.hibernate.jdbc.ReturningWork; import org.hibernate.jdbc.Work; import org.hibernate.loader.custom.CustomQuery; @@ -180,12 +179,12 @@ public class SessionDelegatorBaseImpl implements SessionImplementor, Session { } @Override - public ScrollableResults scroll(CriteriaImpl criteria, ScrollMode scrollMode) { + public ScrollableResults scroll(Criteria criteria, ScrollMode scrollMode) { return sessionImplementor.scroll( criteria, scrollMode ); } @Override - public List list(CriteriaImpl criteria) { + public List list(Criteria criteria) { return sessionImplementor.list( criteria ); }