錯誤org.hibernate.HibernateException: Error applying BeanValidation relational constraints的解決方法

只需要在hibernate.cfg.xml中添加:

<property name="javax.persistence.validation.mode">none</property>

就可以解決以上問題。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章