I have an entity that maps to an external oracle table which is one of the primary data sources of my application. This entity is modelled using hibernate.
The oracle table now has a complex function defined the calculates some special values. I need to call this funtion somehow - almost as another accessor on the entity.
What would you suggest is the best way to incorprate this function call so that I can maintain relatively normal hibernate access to the entities ?