I want to import records from an old database with a different structure than cuba.
My algorithm is to read every row and for each one to create an entity, set values and commit it.
Customer myCustomer = metadata.create(Customer.class); myCustomer.setName(column1); myCustomer.setCreateTs(column2); myCustomer.setUpdateTs(column3); //etc commitContext.addInstanceToCommit(myCustomer, "customer-view"); dataManager.commit(commitContext);
the problem is that the values CreateTs and UpdateTs and user are not the ones I set, the entity saves with the current time and user
dataManager.commit overwrites this values for new entities?