The below code snippet does not work:
@Id private Long id; @ManyToMany(fetch = FetchType.LAZY) @JoinFormula(""" (SELECT DI