Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYWExYjNmN2Jl...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15996?atlOrigin=eyJpIjoiYWExYj...
) HHH-15996 (
https://hibernate.atlassian.net/browse/HHH-15996?atlOrigin=eyJpIjoiYWExYj...
) Migrate annotation processing to use org.hibernate.boot.model.source (
https://hibernate.atlassian.net/browse/HHH-15996?atlOrigin=eyJpIjoiYWExYj...
)
Issue Type: Improvement Assignee: Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 06/Jan/2023 07:27 AM Fix Versions: 6.3.0 Priority: Major Reporter: Steve
Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
org.hibernate.boot.model.source was developed as an abstraction over the source of mapping
information - annotations, orm.xml , hbm.xml with the initial intent of unifying the
processing of mapping sources.
This is already how hbm.xml is processed. This work would apply that to annotations and
orm.xml processing as well.
The approach has benefits in addition to the processing unification, such as -
* Avoiding use of library APIs in processing. Ultimately we want to move to Jandex over
HCANN for annotation consumption - see
https://hibernate.atlassian.net/browse/HHH-9489 (
https://hibernate.atlassian.net/browse/HHH-9489 ). Using this abstraction will make that
migration much simpler.
* Allows support for both dynamic models (MAP mode) and entity-name models. This is
important for deprecation of hbm.xml in favor of annotations / orm.xml - see
https://hibernate.atlassian.net/browse/HHH-15698 (
https://hibernate.atlassian.net/browse/HHH-15698 ).
(
https://hibernate.atlassian.net/browse/HHH-15996#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15996#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- sha1:f908df2 )