No property found for type error when try to create custom repository with Spring Data JPA

前端 未结 2 570
半阙折子戏
半阙折子戏 2020-12-07 20:24

I have a Media entity that has some basic fields for files uploaded by the user. For saving the bytes of the files uploaded, I want to create a custom repository that holds

2条回答
  •  长情又很酷
    2020-12-07 21:16

    You must name your impl class as "InterfaceNameImpl". Default postfix for implementation is Impl, we can change it as we like:

    
    

    The name of custom interfaces does not matter.

提交回复
热议问题