Hibernate doesn?t provide special functionality for computed properties.
Use computed-property element
Implement ComputedProperty interface
Do not implement setter method and specify "nosave" attribute in property element
Use property element and implement getter method
Use property element with formula attribute
|