| java.lang.Object | |
| ↳ | org.hibernate.transform.AliasToBeanConstructorResultTransformer |
Wraps the tuples in a constructor call. todo : why Alias* in the name???
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Instantiates a AliasToBeanConstructorResultTransformer.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
2 AliasToBeanConstructorResultTransformer are considered equal if they have the same
defined constructor.
| |||||||||||
Define our hashCode by our defined constructor's hasCode.
| |||||||||||
Here we have an opportunity to perform transformation on the
query result as a whole.
| |||||||||||
Wrap the incoming tuples in a call to our configured constructor.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.transform.ResultTransformer
| |||||||||||
Instantiates a AliasToBeanConstructorResultTransformer.
| constructor | The contructor in which to wrap the tuples. |
|---|
2 AliasToBeanConstructorResultTransformer are considered equal if they have the same defined constructor.
| other | The other instance to check for equality. |
|---|
Define our hashCode by our defined constructor's hasCode.
Here we have an opportunity to perform transformation on the query result as a whole. This might be useful to convert from one collection type to another or to remove duplicates from the result, etc.
| collection | The result. |
|---|
Wrap the incoming tuples in a call to our configured constructor.
| tuple | The result elements |
|---|---|
| aliases | The result aliases ("parallel" array to tuple) |