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

Respect Cascade setting on OneToMany Relationship #16

Merged
merged 3 commits into from
Jan 7, 2012
Merged

Respect Cascade setting on OneToMany Relationship #16

merged 3 commits into from
Jan 7, 2012

Conversation

benjchristensen
Copy link
Contributor

This is similar to pull request #14 except that it's for OneToMany instead of ManyToOne

For example:

@onetomany(targetEntity = OrderLine.class, cascade = CascadeType.ALL,
fetch = FetchType.EAGER, mappedBy = "order")
public List<OrderLine> getOrderLines() {
    return orderLines;
}
For example:

@onetomany(targetEntity = OrderLine.class, cascade = CascadeType.ALL,
fetch = FetchType.EAGER, mappedBy = "order")
public List<OrderLine> getOrderLines() {
    return orderLines;
}
grouchal added a commit that referenced this pull request Jan 7, 2012
…c1a1d1694d56ab5

Respect Cascade setting on OneToMany Relationship
@grouchal grouchal merged commit c636909 into appoxy:master Jan 7, 2012
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

Successfully merging this pull request may close these issues.

2 participants