{code:java} /** * Specifies whether to use JDBC parameter markers (`?`) or dialect native markers. * * @implNote By default ({@code true}), dialect native markers are used, if any; disable * ({@code false}) to use the standard JDBC parameter markers (`?`) instead * * @see org.hibernate.sql.ast.spi.JdbcParameterRenderer * @see org.hibernate.dialect.Dialect#getNativeParameterRenderer() * * @since 6.2 */ @Incubating String DIALECT_NATIVE_PARAM_MARKERS = "hibernate.dialect.native_param_markers";{code}
Given [https://hibernate.atlassian.net/browse/HHH-16229|https://hibernate.atlassian.net/browse/HHH-16229|smart-link] and this, parameter rendering can be affected in these following ways:
# {{JdbcParameterRenderer}} is a service. Mainly intended for integrators, but a custom initiator for that service can be registered. # The standard initiator considers the {{hibernate.dialect.native_param_markers}} setting to determine the behavior ## if {{true}} (the default), the Dialect’s native parameter markers, if any, are used ## otherwise, JDBC standard markers ({{?}}) are used |
|