-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support JPA annotation mapping for object model (#14626)
* feat: support jpa annotation mapping# * code style * feat: support jpa annotation mapping# * code style * code style * fix merge conflicts * fix merge conflicts * fix merge conflicts * fix merge conflicts * fix maven dependencies * fix maven dependencies * turn off debug logs * fix merge conflicts * code styles * fix merge conflicts * fix merge conflicts * remove dbms.clearSession() in metadata import service * code styles * support constructor injection for EntityManager * code styles * remove unused codes * code styles * merge from master * merge from master * merge from master * merge from master * merge from master * code styles * feat: replace SessionFactory with EntityManager in all stores * git cache cleared * merge from master * remove unused EntityManager * merge from master * add back build.sh * fix dependencies * replace SessionFactory with EntityManager * replace sessionFactory with EntityManager * code styles * fix javax.persistence-api dependency * remove unused OAuth2Client.hbm.xml * merge from master * merge from master * merge from master * getPropertyValue() use methods instead of properties * Period.getCode should return IsoDate * remove session.flush in integrationTest * remove hibernate flush in DhisConvenienceTest * enable session flush for integration test * remove session.update() calls * use EntityManager in unit tests * fix dataApproval test * use entityManager in object bundle hooks * fix ProgramRuleVariableObjectBundleHookTest * use entityManager in HibernateGenericStore * add back dbmsManager.clearSession() for DataApprovalStoreIntegrationTest * replace SessionFactory with EntityManager in unit tests * fix ObjectBundleServiceTest * use save instead of persist * fix tracker aclStore bean name * fix AclStore bean name * fix AclStore bean autowire * use hibernate session to save objects * fix transactionTemplate config * use EntityManager in BaseSpringTest * fix maven deps * replace SessionFactory with EntityManager * fix maven dependency issue * use hibernate session.update() * use entityManager in HibernateDbmsManager * remove redundant translation test * set hibernate ddl property for h2 test * fix maven deps * remove refresh and flush calls in CollectionService * use EM in FollowupValueManager * fix collectionService * use EntityManager in new TrackerImport services * fix TrackerOrgUnitMergeHandlerTest * replace sessionFactory with EntityManager * add missing methods in Legend class * fix PeriodServiceTest * clean: reserved values * fix: error in ProgramStageSectionIntegrationTest * fix: delete-orphan not work for programStage.programStageSection * fix: maven dependency * fix: merge before remove attributeValue in TrackerPersister * fix: code styles * fix code styles * fix maven dependency * fix: ContextInterceptor refer to DatabaseInfoProvider * fix: ContextInterceptor missing constructor * fix: add back Legend.hbm.xml * clean up codes * fix maven dependency * codes clean up * codes clean up * code clean up * code clean up * TECH-1517-41 * rever unrelated fix in BaseIdentifiableObject * rever unrelated fix * fix circular dependency in HibernateEncryptionConfig * use constructor for EM injection in DefaultObjectBundleService * remove sessionFactory bean in HibernateConfig * remove uses of SessionFactory bean * remove uses of SessionFactory bean --------- Co-authored-by: luca <[email protected]>
- Loading branch information
1 parent
5b0cc8e
commit 6eb421d
Showing
231 changed files
with
1,229 additions
and
1,291 deletions.
There are no files selected for viewing
Empty file.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.