摘要:
一个Customer中有多个Order,删除(增加)Customer同事删除(增加)Order.命名很多不规范,临时写的demo,凑合着....Customer.hbm.xml:<?xml version="1.0"?><!DOCTYPE hibernate-mapping PUBLIC"-//Hibernate/Hibernate Mapping DTD//EN""http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"><hibernate 阅读全文