Skip to:
Given and this, parameter rendering can be affected in these following ways:
ParameterMarkerStrategy is a service. Mainly intended for integrators, but a custom initiator for that service can be registered.
ParameterMarkerStrategy
The standard initiator considers the hibernate.dialect.native_param_markers setting to determine the behavior
hibernate.dialect.native_param_markers
if true, the Dialect’s native parameter markers, if any, are used
true
if false, the default, JDBC standard markers (?) are used
false
?
Given and this, parameter rendering can be affected in these following ways:
ParameterMarkerStrategy
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 behaviorif
true
, the Dialect’s native parameter markers, if any, are usedif
false
, the default, JDBC standard markers (?
) are used