Issues
- Association override validation wrongly fails for union-subclass strategyHHH-18261Resolved issue: HHH-18261Christian Beikov
- Support @IdClass during annotation processing for Jakarta DataHHH-18252
- Jakarta Data repository method binding incorrect number of paramsHHH-18248
- Invalid warning message produced by metamodel generator when using embeddable with bidirectional mappingHHH-18240
- Dynamic instantiation with generic entity attribute fails constructor argument type validationHHH-18218Resolved issue: HHH-18218Marco Belladelli
- Accessing a removed lazy association results in a NullPointerExceptionHHH-18212Resolved issue: HHH-18212Marco Belladelli
- Validate queries passed to 'with' method belong to the same scopeHHH-18178Resolved issue: HHH-18178Marco Belladelli
- org.hibernate.AssertionFailure: null identifier for collection of role thrown when merging entity with generated idHHH-18177Resolved issue: HHH-18177Andrea Boriero
- Fix embeddable inheritance for types extending @MappedSuperclassHHH-18172Resolved issue: HHH-18172Marco Belladelli
- Error when using createCountQuery() from distinct dynamic instantiation queryHHH-18121Resolved issue: HHH-18121Marco Belladelli
- Some dialects use the wrong default versionHHH-18112Resolved issue: HHH-18112Yoann RodiĆØre
- Duplicate class definition regression caused by ClassTransformerHHH-18108Resolved issue: HHH-18108Sanne Grinovero
- @CheckHQL is reporting error when named query contains valid Java constantHHH-18106Resolved issue: HHH-18106Äedomir Igaly
- @CheckHQL is not reporting error when non-existing enum constant is referenced in named HQL queryHHH-18102Resolved issue: HHH-18102Äedomir Igaly
- hibernate.boot.allow_jdbc_metadata_access=false leads to warning about "0.0.0 version"HHH-18080Resolved issue: HHH-18080Yoann RodiĆØre
- NullPointerException when unioning partition resultsHHH-18069Resolved issue: HHH-18069Jan Schatteman
- Sybase intersect and except support brokenHHH-18045
- Nested SQL parenthesis issue with Sybase when using IN predicate with JPA Criteria subqueryHHH-18044
- MySQL update/delete statement issue with subqueriesHHH-18040
- Retrieving java.sql.Date from Oracle contains unwanted millisecondsHHH-18036Resolved issue: HHH-18036Christian Beikov
- Jakarta Data bug in processor when implementing CrudRepositoryHHH-17960Resolved issue: HHH-17960Gavin King
Association override validation wrongly fails for union-subclass strategy
Description
Details
Assignee
Christian BeikovChristian BeikovReporter
Christian BeikovChristian BeikovSprint
NoneAffects versions
Priority
Major
Details
Details
Assignee
Reporter
Sprint
Affects versions
Priority
Activity
Gavin KingJune 12, 2024 at 9:41 AM
nope, I agree, not worth it
Christian BeikovJune 12, 2024 at 9:38 AM
Looks like I was wrong and ORM 5 did not support this either. It also looks very complicated to support, so not sure if it's worth it.
Gavin KingJune 11, 2024 at 11:23 PMEdited
As far as I can tell, if you disable that error, we simply ignore the @AssociationOverride
annotation. So it might appear to the user that their @AssociationOverride
is working, when it is in fact not doing anything.
Gavin KingJune 11, 2024 at 11:06 PM
If this error is wrong, Iām impressed, and apparently we can do things I really didn't think we could do!
But, hear me out: when you query against TablePerClassBase
do we really generate the correct SQL in this case? We would need to populate the association by joining both tpces1_list
and tpce_list
, since other concrete subclasses would inherit the un-overridden mapping.
An entity model like the following fails since 6.5:
fails with: