title: @Transient method call in Spring Hibernate
body: <p>I have one Pojo class in which I create one field which is not mapped with DataBase Table.
  So i have to declare the field Declaration and setter and getter method @Transient, otherwise it would have shown an error.</p>
  
  <pre><code>@Transient
  private String docHistoryString="";
  
  @Transient
  public String getDocHistoryString() {
      return docHistoryString;
  }
  
  @Transient
  public void setDocHistoryString(String docHistoryString) {
      this.docHistoryString = docHistoryString;
  }
  </code></pre>
  
  <p>Now, my problem is in the controller. I have set some value in this transient field but when I try to access this variable using EL in view(JSP) it is not giving value. I think this is becouse I used the @transient annotation in get method. </p>