title: Mark complete entity as "updatable=false"
body: <p>In one application there are several entity classes, for which update statements to the database shall be forbidden. I want to insert into and read from the database, but never do any updates on existing records. </p>
  
  <blockquote>
    <p>Is there a way to mark a whole <code>@Entity</code> class as <code>updatable=false</code>?</p>
  </blockquote>
  
  <ul>
  <li><p>One could annotate every single field with <code>@Column(updatable=false)</code> or similar annotations, but for obvious reasons I'd like to avoid this.</p></li>
  <li><p>Getting rid of the setter methods is not an option as well, because the entity classes are also used as DTOs and other parts of the application need those setters. so this would cause to much refactoring of existing code.</p></li>
  </ul>
  
  <p>Is there another simple and clean way to achieve what I'd like to have <strong>with JPA 2.1 / EclipseLink (+Extensions)</strong></p>