title: Hibernate Transient Extends problem
body: <pre><code>@MappedSuperclass
  public abstract class BaseAbstract implements Serializable{
  
   private static final long serialVersionUID = 1L;
  
   protected String test = //some random value;
  
   public String getTest() {
    return test;
   }
  
   public void setTest(String test){
    this.test = test;
   }
  }
  
  
  @Entity
  public class Artist extends BaseAbstract
  {
    private static final long serialVersionUID = 1L;
    private Integer id;
  
          @override
   @Transient
   public String getTest() {
    return test;
   }
  .....
  }
  </code></pre>
  
  <p>My question is... when i am trying to do any operation on the artist, along with id and name, test is also getting saved which should not be the case...</p>
  
  <p>if i add the same transient on the baseabstract class getTest() method, i see test column NOT getting created(ideally what it should happen) but if i try to override the method with adding annotaion in the sub class it creates the test column...</p>
  
  <p>I dont know why this is happening since when hibernate is creating the artist object and checks for annotations, it should see the transient annotation present on the getTest() of artist method...and should not create a column in the database...</p>
  
  <p>Let me know if you need any clarification....</p>
  
  <p>Any response on this is greatly appreciated....</p>
  
  <p>Thank you</p>