@FunctionalInterface public interface ListResultTransformer extends org.hibernate.transform.ResultTransformer
ListResultTransformer
simplifies the way
we can use a ResultTransformer by defining a default implementation for the
ResultTransformer.transformList(List)
method.
This way, the ListResultTransformer
can be used
as a functional interface.
For more details about how to use it, check out this article on vladmihalcea.com.
Modifier and Type | Method and Description |
---|---|
default List |
transformList(List tuples)
Default implementation returning the tuples list as-is.
|
Copyright © 2022. All rights reserved.