Grails unique with hasMany

前端 未结 1 1984
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)
提交回复
热议问题