STAND-139: Upgrade MariaDB4j to 3.3.1 and delete ReusableDB in Standalone Platform#95
Merged
dkayiwa merged 1 commit intoopenmrs:masterfrom Jan 27, 2026
Merged
Conversation
Member
|
@Abhisy2506 could you update the Description to include the task u worked on ... you can take a look at this PR -> #91 |
22d4c66 to
b3549aa
Compare
Muta-Jonathan
approved these changes
Jan 27, 2026
Member
Muta-Jonathan
left a comment
There was a problem hiding this comment.
LGTM thanks @Abhisy2506
cc @dkayiwa
Member
|
@Muta-Jonathan did you test and confirm that everything still works as expected with these changes? |
Member
|
yes @dkayiwa The error in the loading is associated with the platform version not the changes in this PR just an add the changes here also work for linux and mac devices |
Member
|
Thanks @Abhisy2506 and @Muta-Jonathan |
Contributor
Author
|
"Welcome @dkayiwa and @Muta-Jonathan. Thanks for the guidance and for helping me get my first PR successfully merged!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem:
https://openmrs.atlassian.net/browse/STAND-139
Description
The purpose of this PR is to upgrade MariaDB4j to version 3.3.1. This version already has native support for Windows file locking and data reuse, allowing us to remove the custom ReusableDB wrapper and use standard MariaDB4j API.
### Solution:
1.Updated mariadb4jVersion to 3.3.1 in the parent pom.xml and cleaned up redundant mariadb4j-core entries in sub-modules (pom-step-01 to 05).
2. Updated MariaDbController.java to use the native DB.newEmbeddedDB(config) API.
3. Deleted the ReusableDB.java class as its functionality is now natively handled by the upgraded library.
### Testing: