Entity designer problem when associate to entity in add datastore

Hi team,

When adding entity attribute that associate with entity in another data store, the cardinality field does not allow to choose “Collection”, see below screenshot:
image

However after I manually change the field to list, it shows correctly in the right side of entity designer:
image

Jmix version: 1.4.0
Jmix Studio plugin version: 1.4.0-222
IntelliJ version: IntelliJ IDEA 2022.2.3 (Ultimate Edition)

Hi Bryan,

It is not supported in runtime. DataManager can handle only to-one references between entities from different data stores.

Thanks, Konstantin.

In this case, we can load the to-many reference list manually then set to transient field of the master entity, is this the best solution?

Sure. For example, in an EntityLoadingEvent.

1 Like