HHH-16923 Deleting all entities of a given type fails when using a composite primary key and order_updates

This commit is contained in:
Andrea Boriero 2023-07-13 18:42:09 +02:00
parent d47ff849f4
commit 566693b0a2
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ package org.hibernate.type.descriptor.java.spi;
import org.hibernate.type.descriptor.WrapperOptions;
import org.hibernate.type.descriptor.java.AbstractClassJavaType;
import org.hibernate.type.descriptor.java.IncomparableComparator;
import org.hibernate.type.descriptor.java.MutabilityPlan;
import org.hibernate.type.descriptor.jdbc.JdbcType;
import org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators;
@ -20,7 +21,7 @@ import org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators;
public class EntityJavaType<T> extends AbstractClassJavaType<T> {
public EntityJavaType(Class<T> type, MutabilityPlan<T> mutabilityPlan) {
super( type, mutabilityPlan );
super( type, mutabilityPlan , IncomparableComparator.INSTANCE );
}
@Override