Hello support.
we have a problem with the ObjectDB Explorer and @ManyToOne relations.
We persist the entity FolderImpl that has an attribute of type ModelElement.
If we use an interface for the attribute then the ObjectDB Explorer shows NULL for the attribute although our unit test checks that the attribute is not NULL in the database.
@Entity public class ModelElementImpl implements ModelElement { ... } @Entity public class FolderImpl { @ManyToOne (targetEntity = ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElement parent; }
If we use the entity for the attribute then the ObjectDB Explorer shows the attribute. But we want to use interfaces for the attributes.
public class FolderImpl { @ManyToOne (targetEntity = ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElementImpl parent; }
Can you fix this in the ObjectDB Explorer, please?