Package org.hibernate.sql.ast.internal
Class ParameterMarkerStrategyStandard
- java.lang.Object
-
- org.hibernate.sql.ast.internal.ParameterMarkerStrategyStandard
-
- All Implemented Interfaces:
Serializable
,Service
,ParameterMarkerStrategy
public class ParameterMarkerStrategyStandard extends Object implements ParameterMarkerStrategy
The standard ParameterMarkerStrategy based on the standard JDBC?
marker- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterMarkerStrategyStandard
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description ParameterMarkerStrategyStandard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createMarker(int position, JdbcType jdbcType)
Create a parameter markerstatic boolean
isStandardRenderer(ParameterMarkerStrategy check)
-
-
-
Field Detail
-
INSTANCE
public static final ParameterMarkerStrategyStandard INSTANCE
Singleton access
-
-
Method Detail
-
createMarker
public String createMarker(int position, JdbcType jdbcType)
Description copied from interface:ParameterMarkerStrategy
Create a parameter marker- Specified by:
createMarker
in interfaceParameterMarkerStrategy
- Parameters:
position
- The 1-based position of the parameter.jdbcType
- The type of the parameter, if known - may benull
.
-
isStandardRenderer
public static boolean isStandardRenderer(ParameterMarkerStrategy check)
-
-