解决方案 »
- Hibernate已删除id为2的记录成功,在doc查询中已经没有id为2的记录了,但是为什么在jsp页面中还是无法及时更新呢?
- hibernate框架中SQL错误
- struts bean内如何读资源文件?
- 关于spring以及hibernate的问题
- appfuse应用出现的问题,不知道有人能否解决
- 在线等 eclipse + tomcat开发web的问题
- <bean:include/>如何传参数给被包含的页面???
- 急问tomcat和servlet的问题,高分给出
- struts 问题!
- 跪求大神解决$.ajax提交乱码问题!
- ssh hql查询
- java执行mysql语句“show database”可以返回结果集?
<many-to-one name="doctor" lazy="false" class="org.onlinehospital.vo.Doctor"
fetch="select" cascade="all">
<column name="doc_id" not-null="false"/>
</many-to-one>
<many-to-one name="user" lazy="false" class="org.onlinehospital.vo.User"
fetch="select" cascade="all">
<column name="user_identity" not-null="false"/>
</many-to-one>doctor xml
<set name="reservation" inverse="true" lazy="false" cascade="all">
<key column="doc_id" not-null="true"/>
<one-to-many class="org.onlinehospital.vo.Reservation" />
</set>
user xml
<set name="reservation" inverse="true" lazy="false" cascade="all">
<key column="user_identity" not-null="true"/>
<one-to-many class="org.onlinehospital.vo.Reservation" />
</set>
省略其他的参数了!