saveAndFlush is under JpaRepository. In general, save is enough, but if you are in the same transaction, for example, you mark @Transactional on the method, ...
確定! 回上一頁