
public interface NamedNativeQuery<T> extends Child<T>, OrmNamedNativeQueryCommType<T,NamedNativeQuery<T>,QueryHint<NamedNativeQuery<T>>>
named-native-query xsd type| Modifier and Type | Method and Description |
|---|---|
QueryHint<NamedNativeQuery<T>> |
createHint()
Creates a new
hint element |
NamedNativeQuery<T> |
description(String description)
Sets the
description element |
List<QueryHint<NamedNativeQuery<T>>> |
getAllHint()
Returns all
hint elements |
String |
getDescription()
Returns the
description element |
String |
getName()
Returns the
name attribute |
QueryHint<NamedNativeQuery<T>> |
getOrCreateHint()
If not already created, a new
hint element will be created and returned. |
String |
getQuery()
Returns the
query element |
String |
getResultClass()
Returns the
result-class attribute |
String |
getResultSetMapping()
Returns the
result-set-mapping attribute |
NamedNativeQuery<T> |
name(String name)
Sets the
name attribute |
NamedNativeQuery<T> |
query(String query)
Sets the
query element |
NamedNativeQuery<T> |
removeAllHint()
Removes all
hint elements |
NamedNativeQuery<T> |
removeDescription()
Removes the
description element |
NamedNativeQuery<T> |
removeName()
Removes the
name attribute |
NamedNativeQuery<T> |
removeQuery()
Removes the
query element |
NamedNativeQuery<T> |
removeResultClass()
Removes the
result-class attribute |
NamedNativeQuery<T> |
removeResultSetMapping()
Removes the
result-set-mapping attribute |
NamedNativeQuery<T> |
resultClass(String resultClass)
Sets the
result-class attribute |
NamedNativeQuery<T> |
resultSetMapping(String resultSetMapping)
Sets the
result-set-mapping attribute |
NamedNativeQuery<T> description(String description)
description elementdescription - the value for the element descriptionNamedNativeQueryString getDescription()
description elementdescriptionNamedNativeQuery<T> removeDescription()
description elementNamedNativeQueryNamedNativeQuery<T> query(String query)
query elementquery - the value for the element queryNamedNativeQueryString getQuery()
query elementqueryNamedNativeQuery<T> removeQuery()
query elementNamedNativeQueryQueryHint<NamedNativeQuery<T>> getOrCreateHint()
hint element will be created and returned.
Otherwise, the first existing hint element will be returned.hintQueryHint<NamedNativeQuery<T>> createHint()
hint elementQueryHint> List<QueryHint<NamedNativeQuery<T>>> getAllHint()
hint elementshintNamedNativeQuery<T> removeAllHint()
hint elementsQueryHint> NamedNativeQuery<T> name(String name)
name attributename - the value for the attribute nameNamedNativeQueryString getName()
name attributenameNamedNativeQuery<T> removeName()
name attributeNamedNativeQueryNamedNativeQuery<T> resultClass(String resultClass)
result-class attributeresultClass - the value for the attribute result-classNamedNativeQueryString getResultClass()
result-class attributeresult-classNamedNativeQuery<T> removeResultClass()
result-class attributeNamedNativeQueryNamedNativeQuery<T> resultSetMapping(String resultSetMapping)
result-set-mapping attributeresultSetMapping - the value for the attribute result-set-mappingNamedNativeQueryString getResultSetMapping()
result-set-mapping attributeresult-set-mappingNamedNativeQuery<T> removeResultSetMapping()
result-set-mapping attributeNamedNativeQueryCopyright © 2025 JBoss by Red Hat. All rights reserved.