title: JPA EntityManager caching
body: <p>I have an entity defined as follows:</p>
  
  <pre><code>public class Version {
      @Id
      private Long id;
      private String content;
      @Transient
      private Model model;
  
      //...
  }
  </code></pre>
  
  <p>From what I can see, when a <code>find</code> operation is done on Entity Manager, it makes a <code>SELECT</code> on the underlying database only once, and then the entity is cached in the Entity Manager. However, I see that if I assign a <code>Model</code> to the <code>model</code> property, this change is not reflected to the cached entity. E.g. if in one call, a <code>find</code> operation is done and <code>Model</code> is assigned, when I do <code>find</code> again from another EJB, <code>model</code> property is <code>null</code> again. Is this change not reflected to the cached entity? Perhaps because it's <code>@Transient</code>?</p>