Closed liefke closed 3 years ago
I have a mapped superclass with an @ElementCollection and I try to override the name of that table in a subclass with @AssociationOverride:
@ElementCollection
@AssociationOverride
@MappedSuperclass public class Superclass { @ElementCollection private List<String> values; ... } @Entity @AssociationOverride(name="values", joinTable = @JoinTable(name = "AnotherTable")) public class Subclass extends Superclass { ... }
Fastnate currently ignores that override, while Hibernate accepts it (and even an additional @JoinColumn).
@JoinColumn
The @AssociationOverrides and @AttributeOverrides are now supported for @ElementCollection.
@AssociationOverrides
@AttributeOverrides
I have a mapped superclass with an
@ElementCollection
and I try to override the name of that table in a subclass with@AssociationOverride
:Fastnate currently ignores that override, while Hibernate accepts it (and even an additional
@JoinColumn
).