当前位置:编程学习 > JAVA >>

怎么获得hibernate实体映射文建中comment元素里的值

怎么获得hibernate实体映射文建中comment元素里的值
<class name="com.mingxue.hams.domain.TaAcpDict" table="TA_ACP_DICT">
        <id name="id" type="java.lang.String">
            <column name="FACP_ID" length="32" >
             <comment>准备内容编号</comment>
            </column>
            <generator class="uuid"></generator>
        </id>
        <many-to-one name="taDeptDict" class="com.mingxue.hams.domain.TaDeptDict" fetch="select">
            <column name="FDEPT" length="32" />
        </many-to-one>
        <many-to-one name="taStandDict" class="com.mingxue.hams.domain.TaStandDict" fetch="select">
            <column name="FTYPE" length="32" />
        </many-to-one>
        <property name="fdesc" type="java.lang.String">
            <column name="FDESC" length="50" />
        </property>
        <property name="fqun" type="java.lang.String">
            <column name="FQUN" length="20" />
        </property>
        <property name="fst" type="java.lang.String">
            <column name="FST" length="1" />
        </property>
        <set name="taMasters" inverse="true">
            <key>
                <column name="FACP_ID" length="32" not-null="true" unique="true" />
            </key>
            <one-to-many class="com.mingxue.hams.domain.TaMaster" />
        </set>
    </class> --------------------编程问答-------------------- 我也正在寻找,急啊
补充:Java ,  Java相关
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,