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

Lack of "dirty flag" in Gaedo #61

Open
alexblanquart opened this issue Jul 29, 2013 · 0 comments
Open

Lack of "dirty flag" in Gaedo #61

alexblanquart opened this issue Jul 29, 2013 · 0 comments

Comments

@alexblanquart
Copy link

As Gaedo does not have the concept of "dirty flag", this implies to change the modeling of certain classes.

class A {
@onetomany(cascade=CascadeType.ALL)
Set list;
}

In this example, we do not have the power on the cascade on the B's side and thus when updating A, it could imply lots of stuff in database to be updated as well even though nothing has changed.

Then, to avoid this behavior, the only way is to model another class C between A and B.

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