Skip to content

Commit

Permalink
HHH-17635 - register custom user types when contributed through a ser…
Browse files Browse the repository at this point in the history
…vice provider

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
  • Loading branch information
jrenaat authored and mbladel committed Jan 18, 2024
1 parent 733b555 commit d6f09d6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,11 @@ public TypeConfiguration getTypeConfiguration() {
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 ) {
Expand Down

0 comments on commit d6f09d6

Please sign in to comment.