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, ...- Author:
- Steve Ebersole
- See Also:
-
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.
-