Grails unique with hasMany

前端 未结 1 1968
Happy的楠姐
Happy的楠姐 2021-01-25 05:00

This question is an extension/combination of the questions I asked here and here.

My end goal is to have domain classes where:

  1. The equals and
1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-25 05:30

    try

    @EqualsAndHashCode(includeFields=true)
    

    or

    @EqualsAndHashCode(callSuper=true)
    

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