Description: Compatibility with Hibernate 3.6
Author: Miguel Landaeta <miguel@miguel.cc>
Bug-Debian: http://bugs.debian.org/625986
Forwarded: no
Last-Update: 2011-06-03
--- jbossas4-4.2.3.GA.orig/ejb3/src/main/org/jboss/ejb3/entity/InjectedSessionFactory.java
+++ jbossas4-4.2.3.GA/ejb3/src/main/org/jboss/ejb3/entity/InjectedSessionFactory.java
@@ -44,6 +44,7 @@
import org.hibernate.stat.Statistics;
import org.hibernate.Cache;
import org.jboss.ejb3.PersistenceUnitRegistry;
+import org.hibernate.TypeHelper;
/**
* Comment
@@ -249,4 +250,10 @@
throw new UnsupportedOperationException("getCache");
}
+ // dummy compatibility with Hibernate 3.6.x
+ public TypeHelper getTypeHelper()
+ {
+ throw new UnsupportedOperationException("getTypeHelper");
+ }
+
}