HHH-13236 Maintain the old behaviour for non-composite types for better backward compatibility
This commit is contained in:
parent
86be5321d8
commit
8acdbab275
|
@ -361,7 +361,7 @@ public abstract class AbstractCollectionPersister
|
|||
elementColumnIsGettable[j] = true;
|
||||
if ( elementType.isComponentType() ) {
|
||||
// Implements desired behavior specifically for @ElementCollection mappings.
|
||||
elementColumnIsSettable[j] = oneToMany || columnInsertability[j];
|
||||
elementColumnIsSettable[j] = columnInsertability[j];
|
||||
}
|
||||
else {
|
||||
// Preserves legacy non-@ElementCollection behavior
|
||||
|
|
Loading…
Reference in New Issue