title: hibernate formula with column
body: <p>I have a table with a column that will be encrypted by a trigger after the record is inserted. When I read the column, I need to apply a decrypt function in the hibernate domain class.</p>
  
  <p>While saving the object, the value of the column will be saved as such. While reading the column, apply a database function on the read data. <code>@Formula</code> and <code>@Column</code> annotation cannot be applied to an attribute in the entity class. How do I achieve this functionality without using one attribute for saving and another one with <code>@Formula</code> for reading it?</p>