Skip to content
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

TRUNK-5866: Migrate OrderSet from Hibernate Mapping XML to JPA annotations. #4890

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use individual imports instead of wild card imports
dilankavishka committed Jan 19, 2025
commit 3c3906900f199ed03a7003b6eb275844c57a020a
14 changes: 13 additions & 1 deletion api/src/main/java/org/openmrs/OrderSet.java
Original file line number Diff line number Diff line change
@@ -17,7 +17,19 @@
import org.hibernate.envers.Audited;
import org.openmrs.api.APIException;

import javax.persistence.*;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OrderColumn;
import javax.persistence.Table;

/**
* Represents the grouping of orders into a set,