diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java b/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java index 8ffe9febb2..a5353f12c0 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/process/spi/MetadataBuildingProcess.java @@ -609,6 +609,11 @@ public class MetadataBuildingProcess { public void contributeAttributeConverter(Class> converterClass) { metadataCollector.getConverterRegistry().addAttributeConverter( converterClass ); } + + @Override + public void contributeType(CompositeUserType type) { + options.getCompositeUserTypes().add( type ); + } }; if ( options.getWrapperArrayHandling() == WrapperArrayHandling.LEGACY ) {