-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19702 ConnectionProvider rename #10729
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
base: main
Are you sure you want to change the base?
Conversation
Thanks for your pull request! This pull request appears to follow the contribution rules. › This message was automatically generated. |
acaf88e
to
52b3439
Compare
52b3439
to
749c05e
Compare
@DavideD Note that HHH-19702 trivially impacts Hibernate Reactive |
serviceRegistry.requireService( ClassLoaderService.class ) | ||
.classForName( driverClassName ); | ||
try { | ||
return driverClass.newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
} | ||
else { | ||
try { | ||
return (Driver) Class.forName( driverClassName ).newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
serviceRegistry.requireService( ClassLoaderService.class ) | ||
.classForName( connectionCreatorFactoryClassName ); | ||
try { | ||
return factoryClass.newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
} | ||
else { | ||
try { | ||
return (ConnectionCreatorFactory) Class.forName( connectionCreatorFactoryClassName ).newInstance(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Class.newInstance
if ( state != null ) { | ||
state.stop(); | ||
} | ||
super.finalize(); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
Object.finalize
Not really necessary, since these classes were internal
749c05e
to
1431d8e
Compare
[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.
https://hibernate.atlassian.net/browse/HHH-19702