HHH-5182 - Inject SessionFactory into "non-basic" Types

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19391 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-05-06 17:41:24 +00:00
parent c8a5adf327
commit 60c280441b
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,7 @@ import org.hibernate.Interceptor;
import org.hibernate.SessionFactory;
import org.hibernate.StatelessSession;
import org.hibernate.Cache;
import org.hibernate.TypeHelper;
import org.hibernate.engine.FilterDefinition;
import org.hibernate.id.IdentifierGenerator;
import org.hibernate.id.UUIDHexGenerator;
@ -207,4 +208,8 @@ public class SessionFactoryStub implements SessionFactory {
public boolean containsFetchProfileDefinition(String name) {
return getImpl().containsFetchProfileDefinition( name );
}
public TypeHelper getTypeHelper() {
return getImpl().getTypeHelper();
}
}