| I turned on
and I don't know if this matters, but I did notice some difference in the generated SQL queries between the test code and the production one:
Note that on the 2nd INSERT command the provided ID value is 4 (as it should be) but there is no previous
as shown in the production log (see one of the previous comments in the issue). So where did the 4 value come from ? How did the code know that the assigned value for the base entity was 4 and thus use it to insert the joined part ? |