Unable to retrieve Spring HATEOAS embedded resource object in case of @ManytoMany relationship and lookup table with extra column

后端 未结 2 1140
自闭症患者
自闭症患者 2021-01-15 12:48

I am unable to retrieve embedded .I am using Spring boot ,spring data rest and spring JPA. I have 3 tables in data base

  • user
  • competency
  • <
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-15 13:12

    It worked out ,actually i was missing annotation of
    @RepositoryRestResource(excerptProjection = UserCompetencyProjection.class) on UserCompetencyRepository class now the output look like this I am skipping as it is output , and putting necessary output.

提交回复
热议问题