vttranlina commented on code in PR #1822:
URL: https://github.com/apache/james-project/pull/1822#discussion_r1410277573
##########
mailbox/postgres/src/main/java/org/apache/james/mailbox/postgres/PostgresMailboxSessionMapperFactory.java:
##########
@@ -104,7 +105,7 @@ private EntityManager createEntityManager() {
@Override
public AnnotationMapper createAnnotationMapper(MailboxSession session) {
- return new JPAAnnotationMapper(entityManagerFactory);
+ return new PostgresAnnotationMapper(new
PostgresMailboxAnnotationDAO(executorFactory.create(session.getUser().getDomainPart())));
Review Comment:
IMO, Don't do it now
(It will seed to JPA error convert JpaId and PostgresId)
I did it in another pr: https://github.com/apache/james-project/pulls
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]