Author: steve.ebersole(a)jboss.com
Date: 2010-05-06 13:41:24 -0400 (Thu, 06 May 2010)
New Revision: 19391
Modified:
core/trunk/jmx/src/main/java/org/hibernate/jmx/SessionFactoryStub.java
Log:
HHH-5182 - Inject SessionFactory into "non-basic" Types
Modified: core/trunk/jmx/src/main/java/org/hibernate/jmx/SessionFactoryStub.java
===================================================================
--- core/trunk/jmx/src/main/java/org/hibernate/jmx/SessionFactoryStub.java 2010-05-06
17:13:29 UTC (rev 19390)
+++ core/trunk/jmx/src/main/java/org/hibernate/jmx/SessionFactoryStub.java 2010-05-06
17:41:24 UTC (rev 19391)
@@ -20,6 +20,7 @@
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 boolean containsFetchProfileDefinition(String name) {
return getImpl().containsFetchProfileDefinition( name );
}
+
+ public TypeHelper getTypeHelper() {
+ return getImpl().getTypeHelper();
+ }
}
Show replies by date