What are derived properties in hibernate?

Hi,

What are derived properties in hibernate?

Thanks,

View Answers

April 25, 2013 at 1:25 PM

Hi,

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/

thanks,









Related Tutorials/Questions & Answers:
Advertisements