Annotation is the java class which is read through reflection mechanism during the runtime by JVM and does the processing accordingly. The Hibernate Annotations is the powerful way to provide the metadata for the Object and Relational Table mapping. All the metadata is clubbed into the POJO java file along with the code this helps the user to understand the table structure and POJO simultaneously during the development. This also reduces the management of different files for the metadata and java code.
For read more information,Examples and Tutorials on Hibernate visit to :http://www.roseindia.net/hibernate/hibernateannotations/hibernate-annotations-tutorial.shtmlhttp://www.roseindia.net/hibernate/