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

Reflexive relationships are not supported #3

Closed
tylertreat opened this issue Dec 31, 2012 · 1 comment
Closed

Reflexive relationships are not supported #3

tylertreat opened this issue Dec 31, 2012 · 1 comment

Comments

@tylertreat
Copy link
Member

What steps will reproduce the problem?

  1. Created a domain class which has a relationship with itself.
  2. Try to persist this entity.

What is the expected output? What do you see instead?
The ORM should be able to handle reflexive relationships, e.g. a class Category contains a collection of sub-categories implemented as List.

This may require a rather substantial overhaul of the ORM's relationship code.

@tylertreat
Copy link
Member Author

Reflexive one-to-one and many-to-one relationships are supported for free. Issues have been added for reflexive many-to-many (issue #29) and one-to-many (issue #30).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant