File tree 2 files changed +4
-0
lines changed
openempi/core/src/main/java/org/openhie/openempi/model
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 31
31
import javax .persistence .JoinColumn ;
32
32
import javax .persistence .ManyToOne ;
33
33
import javax .persistence .OneToMany ;
34
+ import javax .persistence .OrderBy ;
34
35
import javax .persistence .SequenceGenerator ;
35
36
import javax .persistence .Table ;
36
37
import javax .persistence .Temporal ;
@@ -114,6 +115,7 @@ public void setFileName(String fileName) {
114
115
115
116
@ OneToMany (mappedBy ="dataset" , cascade =CascadeType .ALL )
116
117
@ JoinColumn (name ="dataset_id" )
118
+ @ OrderBy ("columnInformationId" )
117
119
public List <ColumnInformation > getColumnInformation () {
118
120
return columnInformation ;
119
121
}
Original file line number Diff line number Diff line change 31
31
import javax .persistence .Lob ;
32
32
import javax .persistence .ManyToOne ;
33
33
import javax .persistence .OneToMany ;
34
+ import javax .persistence .OrderBy ;
34
35
import javax .persistence .SequenceGenerator ;
35
36
import javax .persistence .Table ;
36
37
import javax .persistence .Temporal ;
@@ -179,6 +180,7 @@ public void setBloomFilterFillFactor(Double bloomFilterFillFactor) {
179
180
}
180
181
181
182
@ OneToMany (mappedBy ="personMatch" , cascade =CascadeType .ALL )
183
+ @ OrderBy ("columnMatchInformationId" )
182
184
public List <ColumnMatchInformation > getColumnMatchInformation () {
183
185
return columnMatchInformation ;
184
186
}
You can’t perform that action at this time.
0 commit comments