finally there is a perfect monitor for Java programmers

Like A Duck@programming.dev to Programmer Humor@programming.dev – 1209 points –
117

You are viewing a single comment

Don't forget the repository methods! getAllByTenantAndActiveAndCreatedAfterAndFirstNameContainsOrderByLastName

Yeah that can get ugly but it's still better than writing native queries because you know it's gonna automatically translate to any db specific sql flavour.

When they get a bit too long and ugly I either write default methods using specifications or I create a more concisely named default method that wraps the verbose monster.

Or you could rename your fields to single characters! getAllByAAndBOrderByC

Now I feel dirty...

1 more...