Experiment with mapping outbox-polling entities (event and agent) without hbm.xml

Description

See https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm-dev/topic/entity-name.20and.20HCANN

The idea would be to use the classes from org.hibernate.mapping to contribute the mapping of those entities to Hibernate ORM. It hasn’t been done, but should in theory be possible.

At the moment our only way to contribute that mapping to would be to cast the MetadataImplementor passed to AdditionalJaxbMappingProducer to a InFlightMetadataCollector. A bit dodgy, but enough to start experimenting.

See also for a more future-proof SPI.

Activity

Show:

Yoann Rodière September 25, 2023 at 3:55 PM

Out of Date

Details

Assignee

Reporter

Components

Priority

Created January 9, 2023 at 2:52 PM
Updated September 25, 2023 at 3:55 PM
Resolved September 25, 2023 at 3:55 PM