The DisableStatements annotation ensures a java.sql.PreparedStatement or a java.sql.CallableStatement is used to execute the queries. The test will fail with a java.sql.Statement.
We recommend configuring this annotation with a global scope.
There was an error while loading. Please reload this page.
π Β 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