james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1144663 - /james/app/trunk/src/main/config/james/context/james-server-context.xml
Date Sat, 09 Jul 2011 12:49:22 GMT
Author: norman
Date: Sat Jul  9 12:49:22 2011
New Revision: 1144663

URL: http://svn.apache.org/viewvc?rev=1144663&view=rev
Log:
Make sure we use the right persistence.xml file. This fix the error which was raised on the
ml

Modified:
    james/app/trunk/src/main/config/james/context/james-server-context.xml

Modified: james/app/trunk/src/main/config/james/context/james-server-context.xml
URL: http://svn.apache.org/viewvc/james/app/trunk/src/main/config/james/context/james-server-context.xml?rev=1144663&r1=1144662&r2=1144663&view=diff
==============================================================================
--- james/app/trunk/src/main/config/james/context/james-server-context.xml (original)
+++ james/app/trunk/src/main/config/james/context/james-server-context.xml Sat Jul  9 12:49:22
2011
@@ -325,6 +325,7 @@
     <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
         <property name="dataSource" ref="datasource"/>
         <property name="jpaVendorAdapter" ref="vendorAdapter"/>
+        <property name="persistenceXmlLocation" value="file://conf/META-INF/persistence.xml"/>
     </bean>
     <bean id="vendorAdapter" class="org.springframework.orm.jpa.vendor.OpenJpaVendorAdapter">
         <property name="database" value="${vendorAdapter.database}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message