-
Notifications
You must be signed in to change notification settings - Fork 52
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
Generation is wrong when oneToOne and oneToMany on same object #30
Comments
Different relations between same two models is not supported. |
Isn't this, a very uncommon scenario? |
In my previous work we had this a lot, where you can have like
Or something like:
Maybe it's uncommon but might be nice to have at some point, for now I don't know enough the data I'll nice to put in DB to know if I need this but if I need I might work on this :) |
Ok. How do you differentiate if a row belongs to the scalar (masterCategory) or the list (subCategories) when fetching it? |
OneToOne and OneToMany is not possible (or not easily) |
Ok :) |
Here is what my model look like:
And this is what is generate:
There is a duplication of the bean that cause trouble in multiple places in the generated code
The text was updated successfully, but these errors were encountered: