ORM uses metadata for its internal work. ORM maintains metadata to generate code used for accessing columns and tables.
ORM maps classes to tables and stores this information in Metadata. It maps fields in classes to columns in tables. These kinds of mappings are also part of Metadata.
Application developers can also access Hibernate Metadata by using ClassMetadata and CollectionMetadata interfaces and Type hierarchy.Read the full book at www.amazon.com