-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
This is one of those 'we could do it a different way, but it would make the generated code cleaner if...' requests
At present the PersistencePlugin generates:
@OneToOne
private Profile profile;
public Profile getProfile()
{ return this.profile; }public void setProfile(final Profile profile) { this.profile = profile; }
I would instead like it to generate:
@OneToOne(cascade = CascadeType.ALL)
private Profile profile;
public Profile getProfile() { return this.profile; }
public void setProfile(final Profile profile)
{ this.profile = profile; }