Interface BindMarker
public interface BindMarker
A bind marker represents a single bindable parameter within a query.
Bind markers are dialect-specific and provide a
placeholder that is used in the actual query.- Since:
- 5.3
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidbind(BindTarget bindTarget, Object value) Bind the givenvalueto theStatementusing the underlying binding strategy.voidbindNull(BindTarget bindTarget, Class<?> valueType) Bind anullvalue to theStatementusing the underlying binding strategy.Return the database-specific placeholder for a given substitution.
-
Method Details
-
getPlaceholder
String getPlaceholder()Return the database-specific placeholder for a given substitution. -
bind
Bind the givenvalueto theStatementusing the underlying binding strategy.- Parameters:
bindTarget- the target to bind the value tovalue- the actual value (must not benull; usebindNull(BindTarget, Class)fornullvalues)- See Also:
-
bindNull
Bind anullvalue to theStatementusing the underlying binding strategy.- Parameters:
bindTarget- the target to bind the value tovalueType- the value type (must not benull)- See Also:
-