ClassLoader classLoader = this.classLoader;
if (classLoader == null) Thread.currentThread().getContextClassLoader();
if (classLoader == null) classLoader = getClass().getClassLoader();
if (classLoader == null) classLoader = ClassLoader.getSystemClassLoader();
GenericConnectionManager connectionManager = new GenericConnectionManager(
createTransactionSupport(),
poolingSupport,
null,
new ConnectionTrackingCoordinator(true),
(RecoverableTransactionManager)transactionManager,