From 214d2427f4c660c2f149f764803eede345c18a6f Mon Sep 17 00:00:00 2001 From: Pete Cheslock Date: Wed, 18 Oct 2023 14:45:38 -0400 Subject: [PATCH] Remove Hibernate --- .../java/org/springframework/samples/petclinic/vet/Vet.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/springframework/samples/petclinic/vet/Vet.java b/src/main/java/org/springframework/samples/petclinic/vet/Vet.java index 73f89050..fc43f08a 100644 --- a/src/main/java/org/springframework/samples/petclinic/vet/Vet.java +++ b/src/main/java/org/springframework/samples/petclinic/vet/Vet.java @@ -21,8 +21,6 @@ import java.util.List; import java.util.Set; -import org.hibernate.annotations.Fetch; -import org.hibernate.annotations.FetchMode; import org.springframework.beans.support.MutableSortDefinition; import org.springframework.beans.support.PropertyComparator; import org.springframework.samples.petclinic.model.Person; @@ -48,7 +46,6 @@ public class Vet extends Person { @ManyToMany(fetch = FetchType.EAGER) - @Fetch(FetchMode.SUBSELECT) @JoinTable(name = "vet_specialties", joinColumns = @JoinColumn(name = "vet_id"), inverseJoinColumns = @JoinColumn(name = "specialty_id"))