Class JaxbSqlSelectImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbSqlSelectImpl
- All Implemented Interfaces:
Serializable
@org.hibernate.annotations.SQLSelect
<p>Java class for sql-select complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="sql-select">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="result-set-mapping" type="{http://www.hibernate.org/xsd/orm/mapping}sql-result-set-mapping"/>
<element name="synchronize" type="{http://www.hibernate.org/xsd/orm/mapping}synchronized-table" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JaxbSqlResultSetMappingImplprotected Stringprotected List<JaxbSynchronizedTableImpl> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the resultSetMapping property.getSql()Gets the value of the sql property.Gets the value of the synchronize property.voidSets the value of the resultSetMapping property.voidSets the value of the sql property.
-
Field Details
-
sql
-
resultSetMapping
-
synchronize
-
-
Constructor Details
-
JaxbSqlSelectImpl
public JaxbSqlSelectImpl()
-
-
Method Details
-
getSql
-
setSql
-
getResultSetMapping
Gets the value of the resultSetMapping property.- Returns:
- possible object is
JaxbSqlResultSetMappingImpl
-
setResultSetMapping
Sets the value of the resultSetMapping property.- Parameters:
value- allowed object isJaxbSqlResultSetMappingImpl
-
getSynchronize
Gets the value of the synchronize property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the synchronize property.For example, to add a new item, do as follows:
getSynchronize().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbSynchronizedTableImpl- Returns:
- The value of the synchronize property.
-