首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Hibernate投射组成关系

2012-06-27 
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>  

?

热点排行