---
title: "Deprecation: #77432 - Extbase: Prepared Statement Query Option"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-77432"
source: "Changelog/8.3/Deprecation-77432-ExtbasePreparedStatementQueryOption.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #77432 - Extbase: Prepared Statement Query Option

See [forge#77432](https://forge.typo3.org/issues/77432)

## Description

The option to use prepared statements within the Extbase persistence layer has been removed. The method
`getUsePreparedStatement()` has been removed from the `QuerySettingsInterface`, as the database
abstraction layer will take care of prepared statements automatically.

The implementation of the following properties within `Typo3QuerySettings` has been marked as
deprecated:

-   `getUsePreparedStatement()`
-   `usePreparedStatement()`

The protected property `usePreparedStatement` has been marked as deprecated as well.

## Impact

Calling one of the methods above within the `QuerySettings` object within the extbase persistence
will trigger a deprecation notice warning.

## Affected Installations

Any TYPO3 instance with an extbase extension using custom query settings using the
`usePreparedStatement()` option.

## Migration

Remove any calls to the methods within the extensions' code, as the TYPO3 abstraction layer will
handle them automatically.
