API Note
Consider this contract (and its subcontracts) as incubating as we transition to 6.0 and SQM.
| Modifier and Type | Field and Description |
|---|---|
| private BindableType | |
| private final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | allowsMultiValuedBinding()
Implements org. |
| public BindableType | |
| public BindableType | getHibernateType()
Implements org. |
| public String | getName()
Implements jakarta. |
| public Class | getParameterType()
Implements jakarta. |
| public Integer | getPosition()
Implements jakarta. |
| public void |
| expectedType | back to summary |
|---|---|
| private BindableType<T> expectedType | |
| sourceLocations | back to summary |
|---|---|
| private final int[] sourceLocations | |
| AbstractParameterDescriptor | back to summary |
|---|---|
| public AbstractParameterDescriptor(int[] sourceLocations, BindableType<T> expectedType) | |
| allowsMultiValuedBinding | back to summary |
|---|---|
| public boolean allowsMultiValuedBinding() Implements org. Doc from org. Does this parameter allow multi-valued (collection, array, etc) binding? This is only valid for HQL/JPQL and (I think) Criteria queries, and is determined based on the context of the parameters declaration.
| |
| getExpectedType | back to summary |
|---|---|
| public BindableType | |
| getHibernateType | back to summary |
|---|---|
| public BindableType Implements org. Doc from org. Get the Hibernate Type associated with this parameter, if one. May
return
| |
| getName | back to summary |
|---|---|
| public String getName() Implements jakarta. Doc from jakarta. Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned. | |
| getParameterType | back to summary |
|---|---|
| public Class Implements jakarta. Doc from jakarta. Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Jakarta Persistence query language queries and native queries will not be portable. | |
| getPosition | back to summary |
|---|---|
| public Integer getPosition() Implements jakarta. Doc from jakarta. Return the parameter position, or null if the parameter is not a positional parameter. | |
| resetExpectedType | back to summary |
|---|---|
| public void resetExpectedType(BindableType<T> expectedType) | |