hibernate_collection/bin/entity2/QQ.xml

  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE hibernate-mapping (View Source for full doctype...)>
- <hibernate-mapping default-cascade="none" default-access="property" default-lazy="true" auto-import="true">
- <class name="entity.StudentList" table="list_student" mutable="true" polymorphism="implicit" dynamic-update="false" dynamic-insert="false" select-before-update="false" optimistic-lock="version">
- <id name="id" column="S_ID">
  <generator class="native" />
  </id>
  <property name="name" column="s_name" unique="false" optimistic-lock="true" lazy="false" generated="never" />
- <list name="addresses" cascade="save-update" inverse="false" mutable="true" optimistic-lock="true" embed-xml="true">
  <key column="s_id" on-delete="noaction" />
  <list-index column="a_index" base="0" />
  <one-to-many class="entity.Address" not-found="exception" embed-xml="true" />
  </list>
  </class>
  </hibernate-mapping>
阅读更多
个人分类: WEB
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭