<id name="XXid" type="java.lang.long" column="XXid">
<generator class="sequence">
<param name="sequence">SEQXXXXXSEQ</param>
</generator>
</id>
<id name="XXid" type="java.lang.long" column="XXid">
<generator class="sequence">
<param name="sequence">SEQXXXXXSEQ</param>
</generator>
</id>
本文标题:hibernate.hbm.xml必须必须配置主键
本文链接:https://www.haomeiwen.com/subject/mltdeftx.html
网友评论