Path<T> treat(
Path<X> path,
Class<T> type
)
Downcast Path object to the specified type.
- Parameters:
path
- pathtype
- type to be downcast to
- Return:
- Path object of the specified type
- Since:
- JPA 2.1
path
- pathtype
- type to be downcast to