mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Doctrine targetEntity abstract class #4947
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sNICkerssss on GitHub (Dec 18, 2015).
I get unnecessary queries then entity has
ManyToOnerelationship with abstract class. My classes structure:My
Payoutclass containspayment_info_idcolumn fromtb_payment_infotable.When I try to get any
Payoutentity, itspaymentInfoinitialize automatically. So:got 2 queries: first for
Payoutand second for itspaymentInfogot 3 queries: first for
Payoutand second, third separate queries to initpaymentInfoHow to achieve lazy load?