Hibernate-地图ping

Hibernate-mapping
Hibernate has a hibernate-mapping config file. There are a property attribute in it. The following is the property's parameters

   
    Property:
    1. name
    2. type
    3. column
    4. not-null
    5. update = 'true'
    6. insert = 'true'
    7. access = 'property' or 'field' or 'customer class' which must implements org.hibernate.property.PropertyAccessor interface.
    8. formula
    

   
    Column:
    1. name
    2. length
    3. not-null
    4. unique
    5. index
    

   
    Class:
    1. name
    2. table
    3. lazy
    4. mutable
    5. dynamic-update = 'false'
    6. dynamic-insert = 'false'
    7. schema
    


   
    Hibernate-mapping:
    1. package
    2. schema
    
    


     Create a naming stragegy. Need to extends the class:
   
    Interface: org.hibernate.cfg.NamingStrategy
    1. org.hibernate.cfg.DefaultNamingStragegy
    2. org.hibernate.cfg.ImprovedNamingStragegy
    

    Developers also can extends the two stragegy to implement your naming stragegy.