-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
convert properties passed to Agroal to strings #9490
Conversation
note that the "garbage cast" in the TODO actually resulted in a bad user experience
Thanks for your pull request! This pull request does not follow the contribution rules. Could you have a look? ❌ All commit messages should start with a JIRA issue key matching pattern › This message was automatically generated. |
ab04163
to
eaa9592
Compare
eaa9592
to
4180967
Compare
throw new ServiceException( "Specified JDBC Driver " + driverClassName + " could not be loaded", e1 ); | ||
else { | ||
try { | ||
return (Driver) Class.forName( driverClassName ).newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
throw new ServiceException( "Specified ConnectionCreatorFactory " + connectionCreatorFactoryClassName + " could not be loaded", e1 ); | ||
else { | ||
try { | ||
return (ConnectionCreatorFactory) Class.forName( connectionCreatorFactoryClassName ).newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
should have done this a long time ago :) also a bunch of refactoring to make connection pool config more robust
b47e603
to
ee66c43
Compare
note that the "garbage cast" in the TODO actually
resulted in a bad user experience
[Please describe here what your change is about]
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.