-
Notifications
You must be signed in to change notification settings - Fork 3.8k
TRUNK-6279: Migrate PersonName from Hibernate Mapping XML to JPA annotations #4928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Update the PersonName class with JPA Caching Upadate the OrderServiceTest class with annotated class Modify the PersonName entity class with JPA annotations Remove the PersonName.hbm.xml file
013d8d2
to
3aaa971
Compare
@@ -54,7 +54,7 @@ | |||
<mapping resource="org/openmrs/api/db/hibernate/Person.hbm.xml" /> | |||
<mapping resource="org/openmrs/api/db/hibernate/PersonAttribute.hbm.xml" /> | |||
<mapping resource="org/openmrs/api/db/hibernate/PersonMergeLog.hbm.xml" /> | |||
<mapping resource="org/openmrs/api/db/hibernate/PersonName.hbm.xml" /> | |||
<!-- <mapping resource="org/openmrs/api/db/hibernate/PersonName.hbm.xml" />--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this commented code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright. I fixed It.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you fix the build failure?
@@ -11,6 +11,15 @@ | |||
|
|||
import static org.apache.commons.lang3.StringUtils.defaultString; | |||
|
|||
import javax.persistence.Cacheable; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unused imports
Co-Authored-By: Manoj Lakshan <[email protected]>
7cf2e29
to
5983633
Compare
Issue I worked on
👉 https://openmrs.atlassian.net/browse/TRUNK-5930