Add saveWithReferenceTo[Field] DSL support for linking using EntityManager.getReference [DATAJPA-422] #829
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Neale Upstone opened DATAJPA-422 and commented
Instead of exposing EntityManager.getReference() as suggested in DATAJPA-83, we could provide DSL save() implementations that support saveWithReferenceTo[fieldName](entity, referenceId).
For example:
My implementation to achieve this is at http://stackoverflow.com/questions/11880924/how-to-add-custom-method-to-spring-data-jpa/19710310#19710310
No further details from DATAJPA-422
The text was updated successfully, but these errors were encountered: