Hibernate投射组成关系

Hibernate映射组成关系hibernate-mappingclass name”Customer” table”CUSTOMERS”property /compo

Hibernate映射组成关系

<hibernate-mapping>       <class name=”Customer” table=”CUSTOMERS”>   <property />           <component name=”homeAddress” class=”Address”>               <parent name=”customer”/>               <property/>           </component>           <component name=”comAddress” class=”Address”>               <parent name=”customer”/>               <property/>           </component>       </class>   </hibernate-mapping>  

?