org.xml.sax.SAXParseException; lineNumber: 22; columnNumber: 58; 必须声明元素类型 "mappint"。
<?xmlversion="1.0"encoding="utf-8"?><!DOCTYPEhibernate-mappingPUBLIC"-//Hibernate/Hib...
<?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">
<hibernate-mapping>
<class name="com.pb.hibernate.po.Paper" table="PAPAER" lazy="false">
<id name="pid" type="java.lang.Integer" column="PID">
<generator class="assigned" />
</id>
<property name="pdesc" type="java.lang.String">
<column name="PDESC" length="50" not-null="true" />
</property>
<many-to-one name="student" class="com.pb.hibernate.Student" unique="ture">
<colunm name="SID"/>
</many-to-one>
</class>
</hibernate-mapping> 展开
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.pb.hibernate.po.Paper" table="PAPAER" lazy="false">
<id name="pid" type="java.lang.Integer" column="PID">
<generator class="assigned" />
</id>
<property name="pdesc" type="java.lang.String">
<column name="PDESC" length="50" not-null="true" />
</property>
<many-to-one name="student" class="com.pb.hibernate.Student" unique="ture">
<colunm name="SID"/>
</many-to-one>
</class>
</hibernate-mapping> 展开
1个回答
2013-05-06
展开全部
你的配置没有更新吧
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |