Add getter for update statements in query translator

Description

We have one for select statements but not for the updates.
This is needed for Hibernate Reactive so that we can retrieve the SQL of for queries.

Environment

None

Assignee

Davide D'Alto

Reporter

Davide D'Alto

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Major
Configure