Got few critical sonar issues in our application related to → This class is part of one cycle containing classes within package(javaarchitecture:S7027).
this S7027 rule is getting applied to any class that even if has an Entity annotation and have JPA/Hibernate associations with annotations like OneToMany and ManyToOne annotations. In our application we have a valid association between the classes still sonar cloud is flagging it as critical issue whereas its a proper JPA/Hibernate association that is taking place. is there any fix getting released for this false positive in near future.
See it the same way, was already discussed in Advanced Class Cycle Detection for Java - Sonar Updates - Sonar Community
in this post few have mentioned that it is still not fixed for s7027…