Verify array support: Make PluralAttributeBuilder also recognize array types
Signed-off-by: Koen Aers <koen.aers@gmail.com>
This commit is contained in:
parent
9d9a240917
commit
86fa0d5fed
|
@ -134,7 +134,8 @@ public class PluralAttributeBuilder<D, C, E, K> {
|
|||
return determineSimpleType( attributeMetadata.getMapKeyValueContext(), metadataContext );
|
||||
}
|
||||
|
||||
if ( java.util.List.class.isAssignableFrom( attributeMetadata.getJavaType() ) ) {
|
||||
if ( java.util.List.class.isAssignableFrom( attributeMetadata.getJavaType() )
|
||||
|| attributeMetadata.getJavaType().isArray() ) {
|
||||
return metadataContext.getTypeConfiguration().getBasicTypeRegistry().getRegisteredType( Integer.class );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue