рабочий доп

This commit is contained in:
Inohara 2023-04-02 12:11:48 +04:00
parent 1e958a8b94
commit 128fd2ff2b

View File

@ -50,8 +50,6 @@ public class OrderService {
// @Transactional // @Transactional
// public List<Supplier> suppliers(List<Product> products){ // public List<Supplier> suppliers(List<Product> products){
// return em.createQuery("SELECT o.supplier FROM Orders o join o.products as p WHERE p = :products ", Supplier.class)
// .setParameter("products", products).getResultList();
// return em.createQuery("SELECT o.supplier FROM Orders o WHERE o.products = :products ", Supplier.class) // return em.createQuery("SELECT o.supplier FROM Orders o WHERE o.products = :products ", Supplier.class)
// .setParameter("products", products).getResultList(); // .setParameter("products", products).getResultList();
// } // }