fix import error for missing contractual contact and legacy-ids #17
@ -596,6 +596,7 @@ public class ImportOfficeData extends ContextBasedTest {
|
||||
Map<Integer, E> entities,
|
||||
final String legacyIdTable,
|
||||
final String legacyIdColumn) {
|
||||
em.flush();
|
||||
entities.forEach((id, entity) -> em.createNativeQuery("""
|
||||
UPDATE ${legacyIdTable}
|
||||
SET ${legacyIdColumn} = :legacyId
|
||||
|
Loading…
Reference in New Issue
Block a user