Is it possible to include related entity attribute in an instance name?
Using something like the below seems not to be the way…
@NamePattern("%s|person.lastname")
Thanks
Is it possible to include related entity attribute in an instance name?
Using something like the below seems not to be the way…
@NamePattern("%s|person.lastname")
Thanks
Unfortunatelly, traversing through the relations graph is not supported in @NamePattern.
But if you include a reference attribute itself (person in your case), its instance name will be used.
Thank you for your support. Got it! Will use the related entity’s instance name.