HHH-14183 LocalTimeJavaDescriptor attempts casting to LocalDate
This commit is contained in:
parent
f9abbaf29d
commit
bb5a47086d
|
@ -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