> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# java-jdbc-query-in-loop

> A JDBC query executes inside a Java loop instead of batching.

## What it flags

A JDBC query executes inside a Java loop instead of batching.

## Example

A JDBC query executes inside a Java loop instead of batching.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "java-jdbc-query-in-loop": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.