I've also implemented a fix for the removal. The fix is similar to HHH-7072: A collection is recreated if a CustomCompositeType (=CompositeUserType) is used. Unfortunately I have not found a way of telling whether the user type has nullable columns or not (e.g. a primary exists or not). Therefore the recreation must be done, even if removal per primary key would be possible.
I've added the implementation fo for the fix to the pull request.
|