So far as we know, in the absence of the declarations we recommend, there is not really enough information exposed from JPA to reliably make the determination of what the involved fields are, nor is it safe to decide that the developer *wants* to do things via ID, since the other approach (loading the subobject) is also viable in other situations.
But yes, it's an area where an explicit guide of how to set up your JPA declarations would help.
But yes, it's an area where an explicit guide of how to set up your JPA declarations would help.
Comment