Skip to content
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

Merged
merged 5 commits into from
Dec 21, 2024

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