Performance: Custom query methods by naming convention
MEDIUM IMPACT
This affects how quickly the database queries are generated and executed, impacting page load and response times.
List<User> findByNameContaining(String name);
List<User> findByNameContainingIgnoreCaseOrderByAgeDesc(String name);
| Pattern | Query Parsing Cost | Query Execution Cost | Startup Impact | Verdict |
|---|---|---|---|---|
| Complex method names with many keywords | High | Variable (depends on query) | Medium | [!] OK |
| Simple, clear method names | Low | Low | Low | [OK] Good |