Right joins in JQPL

Hello Jamie!

FetchPlan cannot be specified for Key-Value entity, but you can reload entity manually to fetch it according to your needs. E.g. for property <property name="material" class="com.company.d4960.entity.Material"/> of keyValueCollection it will look like:

Material reloaded = dataManager.load(Id.of((Material) keyValueEntity.getValue("material")))
        .fetchPlan(builder -> {
            builder.add("materialKit", FetchPlan.BASE)
                   .add("anotherRequiredAttribute", FetchPlan.INSTANCE_NAME);
        })
        .one();

As for unfetched attribute exception, thank you for noticing the problem, I’ve created the issue to fix it. Until that, please reload manually entities returned as values of KeyValueEntity.

P.S. Just in case, it is not recommended to use Lombok with Jpa entities.

Regards,
Dmitry