Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate What are derived properties in hibernate?

Have Programming Question? Ask it here!
 
 
 


Java Coder
What are derived properties in hibernate?
1 Answer(s)      a year and 4 months ago
Posted in : Hibernate


Hi,

What are derived properties in hibernate?

Thanks,


Advertisement
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
Advertisements
 

 

 

DMCA.com