You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/01/15 03:21:58 UTC

[23/30] james-project git commit: JAMES-2641 Enable Annotations in JPA Guice

JAMES-2641 Enable Annotations in JPA Guice


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

Branch: refs/heads/master
Commit: c08473de6e1b6b8f8c6349439750f143e7e385ff
Parents: dc426a5
Author: Benoit Tellier <bt...@linagora.com>
Authored: Fri Jan 11 15:54:37 2019 +0700
Committer: Benoit Tellier <bt...@linagora.com>
Committed: Tue Jan 15 10:10:05 2019 +0700

----------------------------------------------------------------------
 .../guice/jpa-guice/src/main/resources/META-INF/persistence.xml   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c08473de/server/container/guice/jpa-guice/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/server/container/guice/jpa-guice/src/main/resources/META-INF/persistence.xml b/server/container/guice/jpa-guice/src/main/resources/META-INF/persistence.xml
index fd1711d..2b89b96 100644
--- a/server/container/guice/jpa-guice/src/main/resources/META-INF/persistence.xml
+++ b/server/container/guice/jpa-guice/src/main/resources/META-INF/persistence.xml
@@ -46,6 +46,9 @@
         <class>org.apache.james.mailbox.jpa.quota.model.MaxDomainMessageCount</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>
+
         <properties>
             <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
             <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=cascade, JoinForeignKeyDeleteAction=cascade"/>


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