Package org.hibernate.query.criteria
Interface JpaXmlElementExpression
- All Superinterfaces:
Expression<String>,JpaCriteriaNode,JpaExpression<String>,JpaSelection<String>,JpaTupleElement<String>,Selection<String>,Serializable,TupleElement<String>
- All Known Implementing Classes:
SqmXmlElementExpression
A special expression for the
xmlelement function.- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionattribute(String attributeName, Expression<?> expression) Passes the givenExpressionas value for the XML attribute with the given name.content(Expression<?>... expressions) Passes the givenExpressions as value for the XML content of this element.content(List<? extends Expression<?>> expressions) Passes the givenExpressions as value for the XML content of this element.Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualToMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
attribute
Passes the givenExpressionas value for the XML attribute with the given name.- Returns:
thisfor method chaining
-
content
Passes the givenExpressions as value for the XML content of this element.- Returns:
thisfor method chaining
-
content
Passes the givenExpressions as value for the XML content of this element.- Returns:
thisfor method chaining
-