最全三大框架整合(使用映射)——Dept.hbm.xml
2017-05-31 19:05
357 查看
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <!-- Mapping file autogenerated by MyEclipse Persistence Tools --> <hibernate-mapping> <class name="org.entity.Dept" table="DEPT" schema="PRO"> <id name="deptno" type="java.lang.Integer"> <column name="DEPTNO" precision="6" scale="0" /> <generator class="assigned" /> </id> <property name="dname" type="java.lang.String"> <column name="DNAME" length="14" /> </property> <property name="loc" type="java.lang.String"> <column name="LOC" length="13" /> </property> <set name="emps" inverse="true"> <key> <column name="DEPTNO" precision="6" scale="0" /> </key> <one-to-many class="org.entity.Emp" /> </set> </class> </hibernate-mapping>
相关文章推荐
- 最全三大框架整合(使用映射)——Emp.hbm.xml
- 最全三大框架整合(使用映射)——DeptServiceImpl.java
- 最全三大框架整合(使用映射)——DeptAction.java
- 最全三大框架整合(使用映射)——DeptDaoImpl.java
- 最全三大框架整合(使用映射)——Dept.java
- 最全三大框架整合(使用映射)——applicationContext.xml里面的配置
- 最全三大框架整合(使用映射)——struts.xml和web.xml配置
- 最全三大框架整合(使用映射)——IDeptService.java
- 最全三大框架整合(使用映射)——Emp.java
- 最全三大框架整合(使用映射)——IDeptDao.java
- 最全三大框架整合(使用映射)——数据库资源文件jdbc.properties
- 最全三大框架整合(使用映射)——index.jsp
- 使用oracle数据库和MySQL数据库时hibernate的映射文件.hbm.xml的不同
- 使用oracle数据库和MySQL数据库时hibernate的映射文件.hbm.xml的不同
- 使用MyEclipse整合ssh(Struts、Spring、Hibernate)三大框架(环境搭载+实例源码下载)
- Spring框架使用内幕之事务管理以及三大框架整合
- Java的MyBatis框架中XML映射缓存的使用教程
- 使用maven,实现ssm(spring+springmvc+mybatis)三大框架的整合DEMO
- 使用maven与MyEclipse整合ssm(Spring MVC、Spring、Mybatis)三大框架并实现用户注册(环境搭载+实例源码下载)
- Hibernate3.2(8):映射文件Xxx.hbm.xml使用的Hibernate中的数据类型