Package org.hibernate.sql.ast.spi
Interface ParameterMarkerStrategy
-
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
H2Dialect.OrdinalParameterMarkerStrategy
,ParameterMarkerStrategyStandard
public interface ParameterMarkerStrategy extends Service
Strategy for generating parameter markers used in preparable SQL strings. Generally Hibernate will use the JDBC standard marker -?
. Many JDBC drivers support the use of the "native" marker syntax of the underlying database - e.g.$n
,?n
, ...- See Also:
JdbcSettings.DIALECT_NATIVE_PARAM_MARKERS
- Implementation Note:
- Originally developed as an extension point for use from Hibernate Reactive
for Vert.X PostgreSQL drivers which only support the native
$n
syntax.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createMarker(int position, JdbcType jdbcType)
Create a parameter marker
-