Hi,
I want always load oneToOne entity in abstract class in my core model like :
@JmixEntity(name = “…”)
@MappedSuperclass
public abstract class …
@OneToOne(fetch = FetchType.EAGER)
@JoinColumn(name = “STATUT_META_DATA_ID”)
protected StatutMetadataEntite statutMetadata;
Jmix: Jmix framework doesn’t support EAGER fetch type for relations
Only way use Lazy with custom fetchPlan that painfull because 95% i need it …
Let’s try EAGER :
-
First complexe browse view i use keyValueCollection who have an Entity extends abstract
work perfectly
Nice, it 's faster … -
Load entity into edit view
I receive Caused by: java.lang.RuntimeException: Unable to access value holder
Ok doesn’t support EAGER
Let’s try LAZY :
- Same complexe browse …
too large entities … lazy not work …
cannot use plan …
How can I do it? Peraphs I missing something …
best regards
Gabriel