tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1557851 - /tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
Date Mon, 13 Jan 2014 21:03:29 GMT
Author: rmannibucau
Date: Mon Jan 13 21:03:29 2014
New Revision: 1557851

URL: http://svn.apache.org/r1557851
Log:
TOMEE-1107 supporting new hibernate provider

Modified:
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java?rev=1557851&r1=1557850&r2=1557851&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/AppInfoBuilder.java
Mon Jan 13 21:03:29 2014
@@ -735,7 +735,7 @@ class AppInfoBuilder {
             // DMB: This whole block could be a map, but I left it this way just
             // in case we decided we wanted to do other custom handing for the
             // providers listed.
-            if ("org.hibernate.ejb.HibernatePersistence".equals(info.provider)){
+            if ("org.hibernate.ejb.HibernatePersistence".equals(info.provider) || "org.hibernate.jpa.HibernatePersistenceProvider".equals(info.provider))
{
 
                 // Apply the overrides that apply to all persistence units of this provider
                 override(info, "hibernate");



Mime
View raw message