好像是你的映射的列错了,就是column="fk"这里,你把这里改成本表对应外表的哪个属性在试试

解决方案 »

  1.   

    哈哈,fke 在映射文件中重复了!Repeated column in mapping for entity: cjzxPMS.hibbean.pojo.Ex_ProjectPojo column: fke (should be mapped with insert="false" update="false")
      

  2.   

    好像是你的映射的列错了,就是column="fk"这里,你把这里改成本表对应外表的哪个属性在试试
    ==================================
    汗...小弟愚笨.....望明示.....................
    哈哈,fke 在映射文件中重复了!Repeated column in mapping for entity: cjzxPMS.hibbean.pojo.Ex_ProjectPojo column: fke (should be mapped with insert="false" update="false")=============================================
    能不能说下咋改啊.....汗.........我是对着那个中文说明写的...........
      

  3.   

    Repeated column in mapping for entity: cjzxPMS.hibbean.pojo.Ex_ProjectPojo column: fke
    似乎fke没有重复映射呀!奇怪!
    (should be mapped with insert="false" update="false")这是什么意思?不懂。。
      

  4.   

    Repeated column in mapping for entity: cjzxPMS.hibbean.pojo.Ex_ProjectPojo column: fke
    似乎fke没有重复映射呀!奇怪!
    (should be mapped with insert="false" update="false")这是什么意思?不懂。。------------------------------------------------insert="false" update="false"好象意思是说,管理级联是否更新的........
      

  5.   

    第一个表ex_base和ex_project 表的映射关系好象有问题,看不到你的数据库,你自己查查.