Top Description Fields Constructors Methods
org.hibernate.sql.ast.internal

public Class ParameterMarkerStrategyStandard

extends Object
implements ParameterMarkerStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ast.spi.ParameterMarkerStrategy, org.hibernate.service.Service, java.io.Serializable
Imports
org.hibernate.sql.ast.spi.ParameterMarkerStrategy, org.hibernate.type.descriptor.jdbc.JdbcType

The standard ParameterMarkerStrategy based on the standard JDBC ? marker
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final ParameterMarkerStrategyStandard
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
createMarker(int
The 1-based position of the parameter.
position
,
JdbcType
The type of the parameter, if known - may be null.
jdbcType
)

Implements org.hibernate.sql.ast.spi.ParameterMarkerStrategy.createMarker.

Create a parameter marker
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ParameterMarkerStrategyStandard INSTANCE

Singleton access

Constructor Detail

ParameterMarkerStrategyStandardback to summary
public ParameterMarkerStrategyStandard()

Method Detail

createMarkerback to summary
public String createMarker(int position, JdbcType jdbcType)

Implements org.hibernate.sql.ast.spi.ParameterMarkerStrategy.createMarker.

Doc from org.hibernate.sql.ast.spi.ParameterMarkerStrategy.createMarker.

Create a parameter marker

Parameters
position:int

The 1-based position of the parameter.

jdbcType:JdbcType

The type of the parameter, if known - may be null.

Annotations
@Override
isStandardRendererback to summary
public static boolean isStandardRenderer(ParameterMarkerStrategy check)