What are derived properties in hibernate?

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:
What are derived properties in hibernate?
What is the main feature of Hibernate3?
Advertisements
Feature of Hibernate3
What is a transaction and what are ACID properties?
What is properties in javascript
What is the Sub-Query?And what is the properties of Sub-Query?
Maven Repository/Dependency: org.grails.plugins | hibernate5
Maven Repository/Dependency: hibernate | hibernate3
Maven dependency for org.grails.plugins - hibernate5 version 7.0.5 is released. Learn to use hibernate5 version 7.0.5 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.6 is released. Learn to use hibernate5 version 7.0.6 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.7 is released. Learn to use hibernate5 version 7.0.7 in Maven based Java projects
struts1.2,EJB3.0 and Hibernate3 integration example application - EJB
overriding in derived class from abstract class
Persistent Fields and Properties in Entity Classes
Hibernate 4 AnnotationSessionFactoryBean
style sheet properties
properties of relational table
java properties serialized
Set properties for a JDBC driver
Java Bean Properties
ModuleNotFoundError: No module named 'properties'
assign object properties
struts2 properties file
neo4j-server.properties file location
Version of com.teslagov>Properties dependency
Objective-C Inheritance
Properties File IN Struts - Struts
problems regrading .properties files
Properties file in Java
CSS ScrollBar Properties
What is hibernate ?
Version of com.byteslounge>cdi-properties dependency
Version of com.evaserver>eva-properties dependency
Version of com.intersult>properties-plugin dependency
Version of com.talanlabs>config-properties dependency
ModuleNotFoundError: No module named 'more-properties'
ModuleNotFoundError: No module named 'apyref-properties'
ModuleNotFoundError: No module named 'leaf-properties'
ModuleNotFoundError: No module named 'linked-properties'
ModuleNotFoundError: No module named 'properties-image'
ModuleNotFoundError: No module named 'apyref-properties'
ModuleNotFoundError: No module named 'dophon-properties'
ModuleNotFoundError: No module named 'free_properties'
How to write .properties file from jsp
Java read properties file
Maven Repository/Dependency: com.teslagov | Properties
Properties file in Java
Struts properties file location - Struts
JavaScript array properties
Java Write to properties file

Ads