Skip to content

STAND-141: Openmrs-emr3 MariaDB4j version update to 3.3.1 and remove ReusableDb#96

Open
Abhisy2506 wants to merge 1 commit intoopenmrs:openmrs-emr3from
Abhisy2506:Mariadb-version-upgrade-openmrs-emr3
Open

STAND-141: Openmrs-emr3 MariaDB4j version update to 3.3.1 and remove ReusableDb#96
Abhisy2506 wants to merge 1 commit intoopenmrs:openmrs-emr3from
Abhisy2506:Mariadb-version-upgrade-openmrs-emr3

Conversation

@Abhisy2506
Copy link
Contributor

Problem

https://openmrs.atlassian.net/browse/STAND-141

Description

The purpose of this PR is to upgrade MariaDB4j to version 3.3.1 in openmrs-emr3 branch. 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

  • Updated mariadb4jVersion to 3.3.1 in pom.xml.
  • Refactored MariaDbController.java to use standard MariaDB4j API.
  • Updated database connection protocol to jdbc:mariadb.
  • Removed ReusableDB.java.
  • Updated repository URLs to https to resolve Maven blocking issues.
Screenshot 2026-01-29 235808

Testing

  • referenceapplication-standalone module builds successfully.
  • (Note: zip-stage fails due to missing upstream dependency initializer-omod: 2.11.0-SNAPSHOT, which is unrelated to these changes).

@Abhisy2506 Abhisy2506 changed the title Mariadb version upgrade openmrs emr3 STAND-141: Openmrs-emr3 MariaDB4j version update to 3.3.1 and remove ReusableDb Jan 29, 2026
@Abhisy2506 Abhisy2506 changed the base branch from master to openmrs-emr3 January 29, 2026 18:50
@Muta-Jonathan
Copy link
Member

@dkayiwa could you be aware of anything that has hindered the CI actions from being triggered on this PR?

@dkayiwa
Copy link
Member

dkayiwa commented Jan 30, 2026

Not anything that i am aware of.

@Abhisy2506
Copy link
Contributor Author

Hey @Muta-Jonathan , is there anything i have to do for this PR?

@Muta-Jonathan
Copy link
Member

@Abhisy2506 not really would let u know soon if there is any ... PR still in review though

@dkayiwa
Copy link
Member

dkayiwa commented Feb 16, 2026

@Abhisy2506 did you test this by compiling and then run the ouput zip file via extraction and doing a setup of the openmrs instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants