diff --git a/docs/src/main/sphinx/client/jdbc.md b/docs/src/main/sphinx/client/jdbc.md index ab0535ad703e..c0b55960a81e 100644 --- a/docs/src/main/sphinx/client/jdbc.md +++ b/docs/src/main/sphinx/client/jdbc.md @@ -246,3 +246,9 @@ may not be specified using both methods. - Sets the time zone for the session using the [time zone passed](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/ZoneId.html#of(java.lang.String)). Defaults to the timezone of the JVM running the JDBC driver. +* - `legacyPreparedStatements` + - Defaults to `true`. When set to `false`, prepared statements are executed + calling a single `EXECUTE IMMEDIATE` query instead of the standard + `PREPARE ` followed by `EXECUTE `. This reduces + network overhead and uses smaller HTTP headers and requires Trino 431 or + greater.