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 TypeMethodDescriptionvoid
bind
(BindTarget bindTarget, Object value) Bind the givenvalue
to theStatement
using the underlying binding strategy.void
bindNull
(BindTarget bindTarget, Class<?> valueType) Bind anull
value to theStatement
using 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 givenvalue
to theStatement
using the underlying binding strategy.- Parameters:
bindTarget
- the target to bind the value tovalue
- the actual value (must not benull
; usebindNull(BindTarget, Class)
fornull
values)- See Also:
-
bindNull
Bind anull
value to theStatement
using the underlying binding strategy.- Parameters:
bindTarget
- the target to bind the value tovalueType
- the value type (must not benull
)- See Also:
-