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.
もしあれば、2つの違いは何ですか?
エンティティで一方または両方を使用する必要がありますか?
エンティティの場合、実質的に違いはありません。@Immutable優先度を取得します(つまり、両方のアノテーションが付けられたエンティティが@Immutableあり、@Entity(mutable = "true")それが不変として扱われる場合)。
@Immutable
@Entity(mutable = "true")
@Immutableほぼ同じセマンティクスを持つコレクションでも使用できます。詳細はこちら