public interface CustomQuery
Extension point allowing any SQL query with named and positional parameters to be executed by Hibernate, returning managed entities, collections and simple scalar values.
Modifier and Type | Method and Description |
---|---|
List<Return> |
getCustomQueryReturns()
A collection of
descriptors describing the
JDBC result set to be expected and how to map this result set. |
List<ParameterBinder> |
getParameterValueBinders() |
Set<String> |
getQuerySpaces()
Any query spaces to apply to the query execution.
|
String |
getSQL()
The SQL query string to be performed.
|
String getSQL()
The SQL query string to be performed.
Set<String> getQuerySpaces()
Any query spaces to apply to the query execution. Query spaces are used in Hibernate’s auto-flushing mechanism to determine which entities need to be checked for pending changes.
List<ParameterBinder> getParameterValueBinders()
List<Return> getCustomQueryReturns()
A collection of descriptors
describing the
JDBC result set to be expected and how to map this result set.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.