title: Spring JPA not in
body: <p>I have two class <code>Drug</code> and <code>medicalDrawer</code>.</p>
  
  <p>I search a way to get all <code>medicalDrawer</code> not used in <code>Drug</code></p>
  
  <pre><code>@Entity
  public class Drug {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private Long drugId;
  
      @OneToOne
      private MedicalDrawer medicalDrawer;
  }
  
  @Entity
  public class MedicalDrawer {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private Long medicalDrawerId;
  
      private String name;
  }
  </code></pre>