Hibernate PropertyAccessException: IllegalArgumentException

前端 未结 1 380
刺人心
刺人心 2021-01-20 22:18

I have a hibernate mapping which was working until recently - and while I\'m sure this is the result of some change I\'ve made, I can\'t seem to find it.

The mapping

相关标签:
1条回答
  • 2021-01-20 22:43

    I am not sure but you can try this :

    <id name="id" type="java.lang.Long">
                <column name="id" />
                <generator class="native" />
    </id>
    

    Hibernate may be setting wrong value.

    0 讨论(0)
提交回复
热议问题