jmix
jmix copied to clipboard
Support nested embedded id
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 Loadingio.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.