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.
違いは何ですか?:
@Transactional
ありがとう。
唯一の違いは、@Transactional は継承されたアノテーションであるため (少なくとも Spring について話している場合)、クラス定義の @Transactional はサブクラスに継承されますが、メソッドの @Transactional はメソッドのオーバーライドによって継承されません。