HHH-12784 Fix a regression in Javassist support
This commit is contained in:
parent
579ee65fd3
commit
d32997a32d
|
@ -8,6 +8,8 @@ package org.hibernate.bytecode.enhance.internal.javassist;
|
|||
|
||||
import java.util.Collection;
|
||||
import java.util.Locale;
|
||||
import java.util.Objects;
|
||||
|
||||
import javax.persistence.EmbeddedId;
|
||||
import javax.persistence.Id;
|
||||
|
||||
|
@ -64,7 +66,8 @@ public abstract class AttributeTypeDescriptor {
|
|||
}
|
||||
builder.append(
|
||||
String.format(
|
||||
" if ( !Objects.deepEquals( %s, $1 ) )",
|
||||
" if ( !%s.deepEquals( %s, $1 ) )",
|
||||
Objects.class.getName(),
|
||||
readFragment
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue