Author: norman Date: Mon May 17 19:23:53 2010 New Revision: 945321 URL: http://svn.apache.org/viewvc?rev=945321&view=rev Log: use jpa spec version 2.0 in persistence.xml (JAMES-1004)
Modified: james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml Modified: james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml?rev=945321&r1=945320&r2=945321&view=diff ============================================================================== --- james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml (original) +++ james/server/trunk/spring-deployment/src/main/config/james/META-INF/persistence.xml Mon May 17 19:23:53 2010 @@ -1,6 +1,7 @@ <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - version="1.0"> + xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" + version="2.0"> <persistence-unit name="James" transaction-type="RESOURCE_LOCAL"> <!-- Mailbox stuff--> <class>org.apache.james.imap.jpa.mail.model.JPAHeader</class> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org