-
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
Unable to checkout connection, stack blown due to internal ClassCastException #7
Comments
It only happens with usesTraditionalReflectiveProxies=true. |
hi, thanks for reporting the issue. usesTraditionalReflectiveProxies is now deprecated; i don't promise to maintain the reflective proxies. nevertheless, i've fixed this issue (in github source and the current snapshot of c3p0-0.9.5-pre3. thanks again! |
Thank you! Is 0.9.5-preX stable and production ready? Or should it be considered alpha/experimental? |
I think that it is pretty solid, and would selfishly love for you to use it and report any issues. That said, the series has not stabilized and should still be considered a bit experimental. Your safest bet is to use 0.9.2.1 with usesTraditionalReflectiveProxies=false, unless you wish to use JDBC4 features (or if you want to configure in typesafe-config/hocon format or if you want c3p0 to log through the slf4j interface). |
After upgrade from 0.9.1.2 to 0.9.2.1, the pool is unable to check out connections. It fails each time in the loop in BaseResourcePool due to unexpected ClassCastException in attemptRefurbishResourceOnCheckout, eventually blowing the stack.
Stack trace:
The root cause seems to be:
The text was updated successfully, but these errors were encountered: