Steve Ebersole (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16069 (
https://hibernate.atlassian.net/browse/HHH-16069?atlOrigin=eyJpIjoiNGE3YW...
)
Re: Defer handling of custom types until after deployment time (
https://hibernate.atlassian.net/browse/HHH-16069?atlOrigin=eyJpIjoiNGE3YW...
)
I created 3 PRs with different possible solutions to this -
*
https://github.com/hibernate/hibernate-orm/pull/5992 (
https://github.com/hibernate/hibernate-orm/pull/5992 ) Continues to use CDI but better
handles the BeanManager not being ready for use
*
https://github.com/hibernate/hibernate-orm/pull/5994 (
https://github.com/hibernate/hibernate-orm/pull/5994 ) Opts out of using CDI if the
extended or delayed strategies are used
*
https://github.com/hibernate/hibernate-orm/pull/5995 (
https://github.com/hibernate/hibernate-orm/pull/5995 ) Never uses CDI for UserTypes
I did the 3rd to account for no one else on the team thinking it is reasonable to host
these in CDI. Personally I don’t see that, but consensus… If we do keep that approach then
I think we should drop support for hosting all other contracts in CDI (aside from
listeners and converters which JPA requires).
(
https://hibernate.atlassian.net/browse/HHH-16069#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16069#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#100214- sha1:fa7bc5f )