The Hibernate ing file contains a hibernate-mapping element, which includes optional attributes, such:
(1) Schema (optional): name of the database schema.
(2) catalog (optional): name of the database catalog.
(3) default-cascade (optional-the default value is none): the default cascade style.
(4) default-access (optional-property by default): the policy that hibernate uses to access all attributes. You can customize it by implementing the propertyaccessor interface.
(5) default-Lazy (optional-true by default): Specifies the Java attributes and collection classes that do not explicitly indicate the lazy attributes. What default loading style does hibernate adopt.
(6) Auto-import (optional-the default value is true): Specifies whether non-fully qualified class names can be used in the query language (only for classes in this ing file ).
(7) package (optional): specify a package prefix. If the fully qualified class name is not specified in the ing document, use this as the package name.
This element includes the following elements:
L Class-Description of the mapped class
L subclass/joined-subclass-will be used in the ing of the inheritance relationship
L query-define query statements in the configuration file
L ......