title: java hibernate - unneeded saving of a method return value because it starts with get..()
body: <p>I have created a  </p>
  
  <pre><code>String getDisplayString();
  </code></pre>
  
  <p>method in a class which is a hibernate entity. 
  When I run the code there is an exception that tells me that I have to have a </p>
  
  <pre><code>setDisplayString()
  </code></pre>
  
  <p>Though there is no Member called DisplayString. No, to solve it quickly I havve created a set method that does nothing. it runs - but it saves a culmumn named DisplayString with the result of the getDisplayString() method (though not a member).</p>
  
  <p>How do I make a getDisplayString() method and let Hibernate not use it? </p>