I have many entities. Some of them have many attributes.
I found a way to generate repository for each entity, but is there a way to generate search methods (like findAllByLastname
) inside a repository for each attribute of an entity, or some attributes that I want.
That will save me a lot of time.
For example I have entity with 20 attributes and need to search that entity by all it's attributes.