Dữ liệu mùa xuân CrudRepository
có xóa danh sách các mục nhập theo thuộc tính không phải là khóa chính không?Spring CrudRepository có hỗ trợ deleteBy của một danh sách không?
public interface MyRepository extends CrudRepository<MyEntity, Long> {
@Modifying
@Transactional
public void deleteByName(List<String> names);
}
điểm tốt với từ khóa 'công khai' – reto