Try to define the lock in a non-SELECT: public interface ProductRepository extends JpaRepository<Product,Long>{ @Modifying @Query("update Product p set ...
確定! 回上一頁