-
Notifications
You must be signed in to change notification settings - Fork 4
@DisableLikeWithLeadingWildcard
Verifies that SQL statements do not contain a LIKE with a leading wildcard (% or _). If so, the test will fail.
You can read this article explaining why a LIKE with a leading wildcard could be a bad idea for performance.
We recommend configuring DisableLikeWithLeadingWildcard annotation with a global scope. You can disable the global scope DisableLikeWithLeadingWildcard by adding EnableLikeWithLeadingWildcard annotation on specific methods.
π Β Core
π Β JVM
π Β SQL
π Β Scopes
π Β Create an annotation
π Β JUnit 4
π Β JUnit 5
π Β TestNG
π Β Spring
π Β Detect and fix N+1 SELECT
π Β Maven performance
π Β Spring Boot - JUnit 4
π Β Spring Boot - JUnit 5
π Β Micronaut Data - JUnit 5
π Β Micronaut - Spring - JUnit 5
π Β Quarkus - JUnit 5
π Β FAQ
π Β QuickPerf code