HHH-17635 - register custom user types when contributed through a service provider
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
94c36922ac
commit
9c0bc02163
|
@ -609,6 +609,11 @@ public class MetadataBuildingProcess {
|
|||
public void contributeAttributeConverter(Class<? extends AttributeConverter<?, ?>> converterClass) {
|
||||
metadataCollector.getConverterRegistry().addAttributeConverter( converterClass );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void contributeType(CompositeUserType<?> type) {
|
||||
options.getCompositeUserTypes().add( type );
|
||||
}
|
||||
};
|
||||
|
||||
if ( options.getWrapperArrayHandling() == WrapperArrayHandling.LEGACY ) {
|
||||
|
|
Loading…
Reference in New Issue