That use case can be easily handled via the @NotFound mapping. However, you'll get the same FK value populating the Proxy identifier which means the Domain Model is consistent with the DB. So, it's not the same use case. Bytecode enhancement is the only way for this use case. |