> ## 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-sql-string-concat

> A SQL query built by string concatenation risks SQL injection.

## What it flags

A SQL query is built by string concatenation.

## How to review or fix

Use `PreparedStatement` with bound parameters.

## Configuration

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

```json theme={null}
{
  "rules": { "java-sql-string-concat": "off" }
}
```


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