[pkg-java] r13741 - trunk/jbossas4/debian/patches
Miguel Landaeta
nomadium-guest at alioth.debian.org
Fri Jun 3 20:58:24 UTC 2011
Author: nomadium-guest
Date: 2011-06-03 20:58:24 +0000 (Fri, 03 Jun 2011)
New Revision: 13741
Added:
trunk/jbossas4/debian/patches/hibernate36.diff
Log:
* Include missing patch
Added: trunk/jbossas4/debian/patches/hibernate36.diff
===================================================================
--- trunk/jbossas4/debian/patches/hibernate36.diff (rev 0)
+++ trunk/jbossas4/debian/patches/hibernate36.diff 2011-06-03 20:58:24 UTC (rev 13741)
@@ -0,0 +1,27 @@
+Description: Compatibility with Hibernate 3.6
+Author: Miguel Landaeta <miguel at 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");
++ }
++
+ }
More information about the pkg-java-commits
mailing list