You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, I was using the createQueryBuilder() and had the same issue. Including updateEntity(false) removes the bad selects after the insert and allows me to optimise the query so that is helpful, thank you!
Activity
mario-bware commentedon Dec 18, 2018
I've just run into this same issue. Makes the insert query builder unusable as you end up with incorrect duplicate PK's in your entities.
Also, is there a way to disable the select after insert? It would be nice if the selects were optimised rather than one per record.
pleerock commentedon Dec 19, 2018
Actually, it wasn't supposed for
insertto execute any additional query or returnInsertResultresult. So looks like a bug.For now, to fix your issues you need to create insert query builder instead of using
insertmethod from manager. Example:mario-bware commentedon Jan 7, 2019
In my case, I was using the
createQueryBuilder()and had the same issue. IncludingupdateEntity(false)removes the bad selects after the insert and allows me to optimise the query so that is helpful, thank you!imnotjames commentedon Oct 10, 2020
Is this still a problem? We made a few changes that might have fixed this problem.