@ExpectJdbcQueryExecution - quick-perf/doc GitHub Wiki

The ExpectJdbcQueryExecution annotation verifies the number of JDBC query executions (executeQuery, executeUpdate, execute, executeLargeUpdate, executeBatch, executeLargeBatch). See datasource-proxy user guide about JDBC query executions.

Each JDBC execution triggers one or several JDBC roundtrips. For example, if a SELECT statement returns a row number greater than JDBC fetch size, the retrieval of all rows will need several JDBC roundtrips.

See also the ExpectMaxJdbcQueryExecution annotation.

🔧 Elements

Name Type Meaning Default value
value int JDBC query execution 1

🔎 Example

    @ExpectJdbcQueryExecution(2)
    @Test
    public void execute_2_inserts() {	
     //...
    }
⚠️ **GitHub.com Fallback** ⚠️