You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Relationships are not mappend if defined in abstract class constructor. #2452
Will create a query containing AbstractClass_SOMETHING_something for the relationship.
On the mapping side, the code already figured out that the class to create an instance from is ConcreteClass and it will look for a ConcreteClass_SOMETHING_something defined property containing the relationship results.
In conclusion the mapping part should always check if there might be an entry for the more abstract type(s) above in the result list.
Additional information: This bit is only missing when using relationships in the constructor. #2418 already solved the property (Setter/Wither) problem.
changed the title [-]Relationships are not mappend if defined in abstract class.[/-][+]Relationships are not mappend if defined in abstract class constructor.[/+]on Dec 2, 2021
Activity
meistermeier commentedon Nov 30, 2021
Additional information: This bit is only missing when using relationships in the constructor. #2418 already solved the property (Setter/Wither) problem.
GH-2452 - Prepare branch.
GH-2452 - Improve mapping of constructor relationships.
[-]Relationships are not mappend if defined in abstract class.[/-][+]Relationships are not mappend if defined in abstract class constructor.[/+]GH-2452 - Improve mapping of constructor relationships.
spring-projectsGH-2452 - Improve mapping of constructor relationships.