Interface ParametrizedQuery
- All Superinterfaces:
QueryProvider
- All Known Subinterfaces:
EntityQuery
A parsed and structured representation of a query providing introspection details about parameter bindings.
Structured queries can be either created from EntityQuery introspection or through
count query derivation.
- Since:
- 4.0
- Author:
- Jens Schauder, Diego Krupitza
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanReturns whether the query uses JDBC style parameters, i.e. parameters denoted by a simple ?Methods inherited from interface QueryProvider
getQueryString
-
Method Details
-
hasParameterBindings
boolean hasParameterBindings()- Returns:
- whether the underlying query has at least one parameter.
-
usesJdbcStyleParameters
boolean usesJdbcStyleParameters()Returns whether the query uses JDBC style parameters, i.e. parameters denoted by a simple ? without any index or name.- Returns:
- Whether the query uses JDBC style parameters.
- Since:
- 2.0.6
-
hasNamedParameter
boolean hasNamedParameter()- Returns:
- whether the underlying query has at least one named parameter.
-
getParameterBindings
List<ParameterBinding> getParameterBindings()- Returns:
- the registered
ParameterBindings.
-