[jira] [Commented] (JAMES-4174) Removed JDBCMailRepository still referenced in sqlResources.xml

"df (Jira)" <[email protected]> Mon, 9 Mar 2026 08:02:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/JAMES-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063996#comment-18063996 ] 

df commented on JAMES-4174:
---------------------------

Thanks, indeed that was sufficient. I'll try to provide a fix MR asap.

One last question though:
It seems there are no schema differences between the JDBC and JPA variants.
So why is it required to do a mail repo reprocessing?
I can't find specific migration details for this. It's only this one sentence without details:
> Existing data can be migrated via re-processing (and a bit of dedicated configuration).

Thanks

> Removed JDBCMailRepository still referenced in sqlResources.xml
> ---------------------------------------------------------------
>
>                 Key: JAMES-4174
>                 URL: https://issues.apache.org/jira/browse/JAMES-4174
>             Project: James Server
>          Issue Type: Bug
>          Components: James Core
>    Affects Versions: 3.9.0
>            Reporter: df
>            Priority: Major
>
> As '<artifactId>james-server-data-jdbc</artifactId>' got removed via https://github.com/apache/james-project/pull/1590 the JDBCMailRepository is still referenced:
> https://github.com/apache/james-project/blob/james-project-3.9.0/server/apps/spring-app/src/main/resources/sqlResources.xml#L1
> https://github.com/apache/james-project/blob/james-project-3.9.0/server/apps/spring-app/src/main/resources/mailrepositorystore.xml#L44
> https://github.com/apache/james-project/blob/james-project-3.9.0/server/apps/spring-app/src/main/resources/mailrepositorystore.xml#L61
> https://github.com/apache/james-project/blob/james-project-3.9.0/server/data/data-api/src/test/resources/mailrepositorystore.xml#L32
> https://github.com/apache/james-project/blob/james-project-3.9.0/server/data/data-api/src/test/resources/mailrepositorystore.xml#L40
> https://github.com/apache/james-project/blob/james-project-3.9.0/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/mailboxmanager/testdata/MixedMailstores.xml#L82
> https://github.com/apache/james-project/blob/james-project-3.9.0/mpt/impl/imap-mailbox/core/src/main/resources/org/apache/james/mailboxmanager/testdata/MixedMailstores.xml#L115
> It should be its successor JPAMailRepository, see JAMES-2656?
> Also, the corresponding info is missing in the changelog or release notes. How shall we migrate?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)