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