Skip to content

Commit

Permalink
HSEARCH-4783 Fix iteration order on AutomaticIndexingBridge*IT
Browse files Browse the repository at this point in the history
Otherwise these tests fail randomly on DB2, in particular with ORM 6.
  • Loading branch information
yrodiere committed Jan 27, 2023
1 parent 760737d commit c9fb3bc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ public static class ContainingEntity {
private ContainingEntity association2InverseSide;

@OneToMany(mappedBy = "association2InverseSide")
@OrderBy("id asc") // Make sure the iteration order is predictable
private List<ContainingEntity> association2;

@ManyToOne
Expand Down

0 comments on commit c9fb3bc

Please sign in to comment.