Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChargeLine needs an inheritance strategy defined #246

Closed
odrotbohm opened this issue Dec 14, 2018 · 0 comments
Closed

ChargeLine needs an inheritance strategy defined #246

odrotbohm opened this issue Dec 14, 2018 · 0 comments
Assignees
Milestone

Comments

@odrotbohm
Copy link
Member

The default single table inheritance mode for ChargeLine breaks as AttachedChargeLine has a mandatory relationship to OrderLine, which results in a non-null constrained column being added to the shared table. As a consequence, instances of ChargeLine cannot be persisted anymore as they don't carry such a reference.

We need to switch to table per class inheritance.

@odrotbohm odrotbohm added this to the 7.1 milestone Dec 14, 2018
@odrotbohm odrotbohm self-assigned this Dec 14, 2018
odrotbohm added a commit that referenced this issue Dec 14, 2018
We now use table per class inheritance to allow AttachedChargeLine to define a non-null reference to an OrderLine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant