public class SQLCustomQuery extends Object implements CustomQuery, Serializable
| Constructor and Description |
|---|
SQLCustomQuery(String sqlQuery,
NativeSQLQueryReturn[] queryReturns,
Collection additionalQuerySpaces,
SessionFactoryImplementor factory) |
| Modifier and Type | Method and Description |
|---|---|
List |
getCustomQueryReturns()
A collection of
descriptors describing the
JDBC result set to be expected and how to map this result set. |
List<ParameterBinder> |
getParameterValueBinders() |
Set |
getQuerySpaces()
Any query spaces to apply to the query execution.
|
String |
getSQL()
The SQL query string to be performed.
|
public SQLCustomQuery(String sqlQuery, NativeSQLQueryReturn[] queryReturns, Collection additionalQuerySpaces, SessionFactoryImplementor factory) throws HibernateException
HibernateExceptionpublic String getSQL()
CustomQuerygetSQL in interface CustomQuerypublic Set getQuerySpaces()
CustomQuerygetQuerySpaces in interface CustomQuerypublic List<ParameterBinder> getParameterValueBinders()
getParameterValueBinders in interface CustomQuerypublic List getCustomQueryReturns()
CustomQuerydescriptors describing the
JDBC result set to be expected and how to map this result set.getCustomQueryReturns in interface CustomQueryCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.