From where will hibenate fetch values : Can someone clarify my doubt.

public class MyClass{
    private String name;
    
    public void setName(String name) {
         this.name = name;
    }
    
     public String getName() {
          return name + " Hello";
     }
      public static void main() {
             User u = new User();
             u.setName("Yethendra");
      }
}
If I try to insert u record into db using hibernate, for name column which is the value that will be inserted?

Yethendra (OR)  Yethendra Hello.