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
Expected behaviour would be to load data in $Y before I try to access it but the actual thing that is happening is that I am getting a null value in that field.
If I am not using fetch="EAGER" it defaults to fetch="LAZY" which works fine and i do end up having an entity App\Entity\Y in $Y.
How can I reproduce it?
Just make two entities that have OneToOne relationship and in one table put a code similar to this:
What is this feature about (expected vs actual behaviour)?
How my code looks:
Expected behaviour would be to load data in
$Y
before I try to access it but the actual thing that is happening is that I am getting anull
value in that field.If I am not using
fetch="EAGER"
it defaults tofetch="LAZY"
which works fine and i do end up having an entityApp\Entity\Y
in$Y
.How can I reproduce it?
Just make two entities that have OneToOne relationship and in one table put a code similar to this:
Does it take minutes, hours or days to fix?
I am not sure how long it would take to fix.
The text was updated successfully, but these errors were encountered: