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
HibernateException
public String getSQL()
CustomQuery
getSQL
in interface CustomQuery
public Set getQuerySpaces()
CustomQuery
getQuerySpaces
in interface CustomQuery
public List<ParameterBinder> getParameterValueBinders()
getParameterValueBinders
in interface CustomQuery
public List getCustomQueryReturns()
CustomQuery
descriptors
describing the
JDBC result set to be expected and how to map this result set.getCustomQueryReturns
in interface CustomQuery
Copyright © 2019 JBoss by Red Hat. All rights reserved.