[jira] [Commented] (JAMES-4174) Removed JDBCMailRepository still referenced in sqlResources.xml
"Benoit Tellier (Jira)" <[email protected]> Thu, 19 Feb 2026 14:42: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=18059712#comment-18059712 ]
Benoit Tellier commented on JAMES-4174:
---------------------------------------
Adapting mailrepository.xml to use jpa:// instead of jdbc:// should do the trick.
I do not know about MixedMailstores.xml which is not a james file I know.
sqlresources.xml file is not needed for JPA.
> 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)