james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [3/6] james-project git commit: JAMES-1823 Correct the testing for Spring with JPA
Date Thu, 04 May 2017 02:26:34 GMT
JAMES-1823 Correct the testing for Spring with JPA


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/712f2482
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/712f2482
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/712f2482

Branch: refs/heads/master
Commit: 712f2482fef33089dcc045b206e9dd737bb18040
Parents: b92d301
Author: quynhn <qnguyen@linagora.com>
Authored: Thu Apr 27 17:19:30 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Thu May 4 09:25:52 2017 +0700

----------------------------------------------------------------------
 mailbox/jpa/src/main/resources/META-INF/persistence.xml | 3 +++
 server/app/src/test/resources/mailbox.xml               | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/712f2482/mailbox/jpa/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/mailbox/jpa/src/main/resources/META-INF/persistence.xml b/mailbox/jpa/src/main/resources/META-INF/persistence.xml
index a63e0d3..4cb6069 100644
--- a/mailbox/jpa/src/main/resources/META-INF/persistence.xml
+++ b/mailbox/jpa/src/main/resources/META-INF/persistence.xml
@@ -35,6 +35,9 @@
         <class>org.apache.james.mailbox.jpa.quota.model.MaxUserMessageCount</class>
         <class>org.apache.james.mailbox.jpa.quota.model.MaxUserStorage</class>
         <class>org.apache.james.mailbox.jpa.quota.model.JpaCurrentQuota</class>
+        <class>org.apache.james.mailbox.jpa.mail.model.JPAMailboxAnnotation</class>
+        <class>org.apache.james.mailbox.jpa.mail.model.JPAMailboxAnnotationId</class>
+        <class>org.apache.james.mailbox.jpa.mail.model.openjpa.AbstractJPAMailboxMessage$MailboxIdUidKey</class>
         <properties>
             <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
             <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=cascade,
JoinForeignKeyDeleteAction=cascade"/>

http://git-wip-us.apache.org/repos/asf/james-project/blob/712f2482/server/app/src/test/resources/mailbox.xml
----------------------------------------------------------------------
diff --git a/server/app/src/test/resources/mailbox.xml b/server/app/src/test/resources/mailbox.xml
index 9da9919..22c2e3e 100644
--- a/server/app/src/test/resources/mailbox.xml
+++ b/server/app/src/test/resources/mailbox.xml
@@ -25,8 +25,8 @@
 
 <mailbox>
     <!-- supported providers are: -->
-    <!-- jpa, jcr, maildir, hbase, memory -->
+    <!-- jpa, jcr, maildir, hbase, memory, maildir, jpa -->
     <!--  -->
     <!-- Be aware that maildir will only work on unix like operation systems! -->
-    <provider>maildir</provider>
+    <provider>jpa</provider>
 </mailbox>


---------------------------------------------------------------------
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