Leverage ClassLoaderDelegate stuff added to HCANN as means to avoid its need for TCCL
Description
See issues like HHH-9446, HHH-8818, and the many many others indicative of problems caused because HCANN relied on TCCL for class-loading.
Many of the changes in 5.0 and Sessionfactory building were geared to address this and other "timing issues". Here we simply need to leverage the ClassLoaderDelegate stuff I added to HCANN for it to use our ClassLoaderService for its class-loaing needs.
This represents a fix for HHH-9446, but only for 5.0. needs a different approach for 4.x
See issues like HHH-9446, HHH-8818, and the many many others indicative of problems caused because HCANN relied on TCCL for class-loading.
Many of the changes in 5.0 and Sessionfactory building were geared to address this and other "timing issues". Here we simply need to leverage the
ClassLoaderDelegate
stuff I added to HCANN for it to use ourClassLoaderService
for its class-loaing needs.This represents a fix for HHH-9446, but only for 5.0. needs a different approach for 4.x