title: How to update @Transient member
body: <p>I have a class like this</p>
  
  <pre><code>@Entity
  public class Order {
    ...
    ...
    @Transient
    private OrderDetail detail;
  
    private Integer orderDetailId;
  }
  
  @Entity
  public class OrderDetail {
    ...
    ...
  }
  </code></pre>
  
  <p>Note: This is an existing class. I use JPA/Hibernate</p>
  
  <p>I want to update OrderDetail through Order object. How can I achieve it?</p>
  
  <p>Thanks</p>