Open aaronjwhiteside opened 1 year ago
I don't think we want to support mapping using the Hibernate XML format. We might support JPA XML format in the future, which would require those files to be processed by the annotation processor and mirror the equivalent annotations.
Expected Behavior
I should be able to define entity mappings without any annotations using by specifying the mappings in files supplied to the
jpa.*.mapping-resources
configuration.Actual Behaviour
Any entity mappings defined by files from the
jpa.*.mapping-resources
configuration are still required to be annotated with@Entity
and@Id
or else any repositories you have define will get compile errors.Steps To Reproduce
Environment Information
MacOS JDK 17
Example Application
No response
Version
Micronaut Platform: 4.1.6