Resolve all persistent entities for a persistent property.
Original pull request: #2394. Closes #2390.
This commit is contained in:
committed by
Mark Paluch
parent
1f77786d89
commit
3277467b74
@@ -274,6 +274,11 @@ public interface TypeInformation<S> {
|
||||
return !type.equals(getType()) && type.isAssignableFrom(getType());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether the current type is considered a {@literal null} value wrapper or not.
|
||||
*
|
||||
* @return {@literal true} if the type is considered to be a {@literal null} value wrapper such as {@link java.util.Optional}.
|
||||
*/
|
||||
default boolean isNullableWrapper() {
|
||||
return NullableWrapperConverters.supports(getType());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user