Question: What are derived properties in hibernate?
What are derived properties in hibernate?
In Hibernate program we use the derived properties for calculated at the fetch time, mostly read-only. There are two options to defined the derived properties in Hibernate, use the formula attribute of the property element in your hibernate mapping file or use the @Formula annotation.
For more details about attribute oriented prgramming in Java visit this link: http://www.roseindia.net/hibernate/