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
You wrote:
the suggestions there (all in same package, naming convention) are things I'm already doing.
No you do not.
Rename you MediaBytesRepository to MediaRepositoryCustom.
MediaBytesRepository
MediaRepositoryCustom
And of course you need an implementation of MediaRepositoryCustom with the name MediaRepositoryImpl.
MediaRepositoryImpl