Steve Ebersole commented on New Feature HHH-7527

Thomas Diesler I don't disagree in some aspects (like TCCL being bad). However, relying on OSGi stuff in libraries that can be used outside OSGi seems just as bad to me TBH. Its swapping one overlord for another.

And Hibernate does in fact leverage ServiceLoader. But we do all ClassLoader interactions in a very special way: we use a custom service (Hibernate ServiceRegistry) - ClassLoaderService. The idea being that different environments would either configure the standard one in different ways or provide their own. Thats not going to change.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira