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