-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use thread context classlaoder to load driver #105
Comments
elrodro83
added a commit
to mulesoft/c3p0
that referenced
this issue
Apr 5, 2018
elrodro83
added a commit
to mulesoft/c3p0
that referenced
this issue
Apr 5, 2018
elrodro83
added a commit
to mulesoft/c3p0
that referenced
this issue
Apr 6, 2018
elrodro83
added a commit
to mulesoft/c3p0
that referenced
this issue
Apr 6, 2018
elrodro83
added a commit
to mulesoft/c3p0
that referenced
this issue
Apr 6, 2018
asanguinetti
pushed a commit
to mulesoft/c3p0
that referenced
this issue
Mar 9, 2023
asanguinetti
pushed a commit
to mulesoft/c3p0
that referenced
this issue
Mar 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the jdbc driver class is not found when trying to load it (https://github.com/swaldman/c3p0/blob/master/src/java/com/mchange/v2/c3p0/DriverManagerDataSource.java#L143), a second attempt should be made using the
Thread.currentThread. getContextClassLoader()
This would allow to have c3po loaded by a classloader while having the jdbc driver loaded by a descendant classloader.
The text was updated successfully, but these errors were encountered: