Skip to content

Conversation

@gavinking
Copy link
Member

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.


note that the "garbage cast" in the TODO actually
resulted in a bad user experience
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Dec 21, 2024

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 HHH-\d+
    ↳ Offending commits: [6568842, 4180967, 287d08a, ee66c43, e642452]

› This message was automatically generated.

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

Invoking
Class.newInstance
should be avoided because it has been deprecated.
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

Invoking
Class.newInstance
should be avoided because it has been deprecated.
should have done this a long time ago :)

also a bunch of refactoring to make connection pool config more robust
@gavinking gavinking merged commit 879dca2 into hibernate:main Dec 21, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant