What steps will reproduce the problem?
1. assuming there are types Pet and Vet
graph entity --class ~.domain.Pet
graph entity --class ~.domain.Vet
graph relationship --fieldName pets --from ~.domain.Vet --to ~.domain.Pet --direction OUTGOING --cardinality ONE_TO_MANY --type "PETS"
graph relationship --fieldName vet --from ~.domain.Pet --to ~.domain.Vet --direction INCOMING --cardinality MANY_TO_ONE --type "PETS"
What is the expected output?
public class Pet {
@RelatedTo(type = "PETS", direction = Direction.INCOMING)
private Vet vet;
}
public class Vet {
@RelatedTo(type = "PETS", elementClass = Pet.class)
private Set<Pet> pets;
}
What do you see instead?
Pet.vet field is generated as expected, but
RelatedTo annotation on field Vet.pets has no elementClass attribute
public class Vet {
@RelatedTo(type = "PETS")
private Set<Pet> pets;
}
What version of the product are you using? On what operating system?
Rev 365- current latest revision in repository
Please provide any additional information below.
Pleas apply the patch from the attachment to resolve this issue