mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 04:34:49 +00:00
Revert "HHH-13752 - Deletion of entities with many-to-many assocations using non-primary keys for join table"
This reverts commit 11455f34677fa0bc5dd5123977fd3a0849da6aea.
This commit is contained in:
parent
99868fb5f9
commit
e924d55fdf
@ -85,7 +85,7 @@ public DeleteExecutor(HqlSqlWalker walker, Queryable persister) {
|
|||||||
for ( String propertyName : componentType.getPropertyNames() ) {
|
for ( String propertyName : componentType.getPropertyNames() ) {
|
||||||
Collections.addAll( columns, persister.toColumns( propertyName ) );
|
Collections.addAll( columns, persister.toColumns( propertyName ) );
|
||||||
}
|
}
|
||||||
columnNames = columns.toArray( new String[0] );
|
columnNames = columns.toArray( new String[columns.size()] );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
columnNames = persister.getIdentifierColumnNames();
|
columnNames = persister.getIdentifierColumnNames();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user