mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 03:38:16 +00:00
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 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…
x
Reference in New Issue
Block a user