HHH-14183 LocalTimeJavaDescriptor attempts casting to LocalDate
This commit is contained in:
parent
429bcdb27c
commit
b48d9668b7
|
@ -54,7 +54,7 @@ public class LocalTimeJavaDescriptor extends AbstractTypeDescriptor<LocalTime> {
|
|||
return null;
|
||||
}
|
||||
|
||||
if ( LocalDate.class.isAssignableFrom( type ) ) {
|
||||
if ( LocalTime.class.isAssignableFrom( type ) ) {
|
||||
return (X) value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue