gdesiato<p>JPA frustration of the day:</p><p>Why can’t I override an @ElementCollection in a subclass?</p><p>I just want to change the table name without redefining the entire map in the concrete class! But no, JPA doesn’t support @AttributeOverride for @ElementCollection, so I’m stuck copy-pasting.</p><p>Hibernate, please, let me override collection mappings like normal fields!</p><p><a href="https://mastodon.social/tags/Hibernate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hibernate</span></a> <a href="https://mastodon.social/tags/JPA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JPA</span></a> <a href="https://mastodon.social/tags/ORMFrustrations" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ORMFrustrations</span></a> <a href="https://mastodon.social/tags/SpringBoot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SpringBoot</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a></p>