In Hibernate 5 it was possible to create a CompositeUserType, which was used in the org.hibernate.annotations.Type annotation. This allowed (and does it also in Hibernate 6) to provided parameters. In Hibernate 6 we have to use the new CompositeType annotation, but this does not allow the definition of parameters. Unfortunately this is a blocker for us. We have hundreds of properties where each one has an own parameter value that has to be provided for the composite user type. Please add the parameters to the CompositeType annotation and use them like in a “normal” user types that implements ParameterizedType. |