jmix-framework/jmix

Support nested embedded id

Opened this issue · 0 comments

Problem

For now, only plain @EmbeddedId is supported. Nested embedded entities are ignored by lazy loading and by studio.

Task

  • Consider nested @Embedded entities in @EmbeddedId entity in Lazy Loading io.jmix.eclipselink.impl.lazyloading.JpaLazyLoadingListener#buildEmbeddedIdByValueHolder
  • Consider columns renamed through @AttributeOverride
  • Check another corner cases and variations
  • Make studio do not erase @JoinColumn-s for nested embedded entity attributes after any change in entity through designer.