Package org.hibernate.sql.ast.spi
Interface ParameterMarkerStrategy
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
H2Dialect.OrdinalParameterMarkerStrategy
,ParameterMarkerStrategyStandard
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:
- 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
Modifier and TypeMethodDescriptioncreateMarker
(int position, JdbcType jdbcType) Create a parameter marker
-
Method Details
-
createMarker
Create a parameter marker- Parameters:
position
- The 1-based position of the parameter.jdbcType
- The type of the parameter, if known - may benull
.
-