I guess I was a bit hasty.
The attribute type is set in the BasicMetadataGenerator.applyNestedType(..) method. Only the type name is used here. The sqlType is effectively lost here.