Skip to content

Commit

Permalink
#63 - Flesh out BindingCoordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Nov 4, 2023
1 parent fc52f8d commit 23a8b07
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,12 @@ public void registerTypeBinder(ManagedTypeMetadata type, ManagedTypeBinder binde
if ( binder instanceof EntityTypeBinder entityTypeBinder ) {
metadataBuildingContext.getMetadataCollector().addEntityBinding( entityTypeBinder.getTypeBinding() );
}
else if ( binder instanceof MappedSuperTypeBinder mappedSuperBinder )
metadataBuildingContext.getMetadataCollector().addMappedSuperclass(
mappedSuperBinder.getManagedType().getClassDetails().toJavaClass(),
mappedSuperBinder.getTypeBinding()
);
else if ( binder instanceof MappedSuperTypeBinder mappedSuperBinder ) {
metadataBuildingContext.getMetadataCollector().addMappedSuperclass(
mappedSuperBinder.getManagedType().getClassDetails().toJavaClass(),
mappedSuperBinder.getTypeBinding()
);
}
}

@Override
Expand Down

0 comments on commit 23a8b07

Please sign in to comment.