OGM (v3.1.1) doesn't seem to support @NodeEntity
on an interface class with the label specified explicitly. Let's say, I have an annotated interface:
@NodeEntity(label = "MY_LABEL")
interface MyInterface { ... }
which is implemented by a class MyInterfaceImpl
. Now, I can't make OGM map the entity names in the db result (MY_LABEL
) to the corresponding java class (MyInterfaceImpl
) - there seems to be no mapping "label => interface => implementing class". However, it does work as expected when the label is identical to the interface name.
Am I missing something?