http://jsp-tech.blogspot.com/2007/05/hibernate-one-to-many.html <set name="bids" inverse="true" lazy="true" cascade="all-delete-orphan" batch-size="2"> <key column="relation_id" property-ref="childId"/> <one-to-many class="BidLegacy"/> </set> //
<many-to-one name="item" class="ItemLegacy" column="relation_id" property-ref="childId" not-null="true"/>
<many-to-one name="item" class="ItemLegacy" column="relation_id" property-ref="childId" not-null="true"/>
解决方案 »
- [设计模式]怎么使所有类都具有单态的能力??
- 程序开发中的ext做个名词是什么意思?
- 请高手指教软设考试中的问题
- weblogic9.0配mysql5.0连接池问题,谁碰到过呀,帮我个忙
- JavaBean使用时出现了想不通的错误?有点着急了。
- 一个应用服务器的问题,请各位大哥指点一下
- 高分求一个可用的jxl或者其他好的解析excel的jar的下载地址,谢谢!
- 大家帮帮忙呀
- jboss下用sessionBean的container控制事务不起作用?详见>>
- 大家救命,关于COM+和EJB,大家快点帮忙,要不我就完蛋了,急死我了,救命阿。
- struts 数据源配置问题 导致TOMCAT5.0.28 启动时的错误
- myeclipse4+hibernate2,hibernate mapping出现问题
~~~~~~~~~~~~~~~~~~~~~~~~
key 没有property-ref这个属性啊。