{code:java} /** * Specifies Controls whether to use JDBC parameter markers (`?`) or dialect native markers for parameters * within {@linkplain java . sql.PreparedStatement preparable} SQL statements. * * @implNote By default ({@code true false }), dialect native standard JDBC parameter markers (`?`) are used , if any; disable . * Enable ( set {@code false true }) to use the standard JDBC parameter Dialect's native markers (`?`) instead , if any. * * @see org.hibernate.sql.ast.spi.JdbcParameterRenderer ParameterMarkerStrategy * @see org.hibernate.dialect.Dialect# getNativeParameterRenderer getNativeParameterMarkerStrategy () * * @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 |
|