[
https://issues.jboss.org/browse/FORGE-1115?page=com.atlassian.jira.plugin...
]
Lincoln Baxter III updated FORGE-1115:
--------------------------------------
Fix Version/s: (was: 1.x Future)
Generate code in JPA entities to implement the mutual registration
pattern
--------------------------------------------------------------------------
Key: FORGE-1115
URL:
https://issues.jboss.org/browse/FORGE-1115
Project: Forge
Issue Type: Feature Request
Components: Builtin Plugins
Affects Versions: 1.3.3.Final
Reporter: Vineet Reynolds
Fix For: 2.x Future
It would be preferable to generate code to implement [the mutual registration
pattern|http://www.two-sdg.demon.co.uk/curbralan/papers/MutualRegistration.pdf]. This
would ensure that changes to bidirectional relationships are propagated through methods
invoked on the JPA entity, instead of delegating this logic to the business services. Not
implementing this, would result in [object corruption
issues|http://en.wikibooks.org/wiki/Java_Persistence/Relationships#Object...].
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira