HHH-12135 - Support for AttributeConverters as CDI beans, fix method o.h.type.descriptor.java.EnumJavaTypeDescriptor#fromName(String)
This commit is contained in:
parent
803b29fc1a
commit
f8f1241c2b
|
@ -82,7 +82,7 @@ public class EnumJavaTypeDescriptor<T extends Enum> extends AbstractTypeDescript
|
|||
if ( relationalForm == null ) {
|
||||
return null;
|
||||
}
|
||||
return (T) Enum.valueOf( getJavaType(), relationalForm );
|
||||
return (T) Enum.valueOf( getJavaType(), relationalForm.trim() );
|
||||
}
|
||||
|
||||
public String toName(T domainForm) {
|
||||
|
|
Loading…
Reference in New Issue