Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
で使用するときにいつreadOnly値をtrue設定する必要があるか、いつ設定する必要があるかを誰かが説明できますか?false@Transactional
readOnly
true
false
@Transactional
データベースからの読み取り/選択のみを行い、データを変更しない場合 - 更新/挿入/削除を実行します。
readOnly を指定できる場合は、リソースの消費がはるかに少ないはずです。