}
elementBinder.setColumns( elementColumns );
//do not call setType as it extract the type from @Type
//the algorithm generally does not apply for map key anyway
elementBinder.setKey(true);
MapKeyType mapKeyTypeAnnotation = property.getAnnotation( MapKeyType.class );
if ( mapKeyTypeAnnotation != null && !BinderHelper.isEmptyAnnotationValue(
mapKeyTypeAnnotation.value()
.type()
) ) {
elementBinder.setExplicitType( mapKeyTypeAnnotation.value() );
}
else {
elementBinder.setType( property, elementClass, this.collection.getOwnerEntityName(), null );
}
elementBinder.setPersistentClassName( propertyHolder.getEntityName() );