此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【sharkzsy】截止到2008-06-26 14:58:05的历史汇总数据(不包括此帖):
发帖数:0                  发帖分:0                  
结贴数:0                  结贴分:0                  
未结数:0                  未结分:0                  
结贴率:-------------------结分率:-------------------
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html

解决方案 »

  1.   

    <?xml version="1.0"?><!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.netstrong.service.security.AbilityDTO"
            table="userability"
            dynamic-update="false"
            dynamic-insert="false"
        >        <id
                name="id"
                column="id"
                type="string"
                unsaved-value="null"
            >
                <generator class="uuid.hex">
                </generator>
            </id>        <property
                name="methodorpathname"
                type="java.lang.String"
                update="true"
                insert="true"
                access="property"
                column="methodorpathname"
            />        <many-to-one
                name="usercompet"
                class="com.netstrong.service.security.CompetDTO"
                cascade="save-update"
                outer-join="auto"
                update="true"
                insert="true"
                access="property"
                column="competid"
            />        <!--
                To add non XDoclet property mappings, create a file named
                    hibernate-properties-AbilityDTO.xml
                containing the additional properties and place it in your merge dir.
            -->    </class></hibernate-mapping>
    虽然我改为 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">,但是还是存在不能合并的问题。。
      

  2.   

    我也不想改为网上去查的,因为config文件里面本来就有hibernate-mapping-3.0.dtd,何况假如不能上网那还是有问题的