We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8f8dc commit 6148dddCopy full SHA for 6148ddd
src/main/java/org/springframework/samples/petclinic/owner/Pet.java
@@ -55,7 +55,7 @@ public class Pet extends NamedEntity {
55
56
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
57
@JoinColumn(name = "pet_id")
58
- @OrderBy("visit_date ASC")
+ @OrderBy("date ASC")
59
private final Set<Visit> visits = new LinkedHashSet<>();
60
61
public void setBirthDate(LocalDate birthDate) {
0 commit comments