update and delete query

 @Modifying

@Transactional

@Query("update CreateHolidayPackageOne u set u.internationalRefid = :internationalRefid where u.id = :id")

void updateinternationalRefid(@Param("id") long id, @Param("internationalRefid") long internationalRefid);


---------------------------------------------------------------------------------------------------------------------



Comments