Skip to content

Conversation

@NathanQingyangXu
Copy link
Contributor

@NathanQingyangXu NathanQingyangXu commented Nov 21, 2024

Seems the two protected methods in org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl was copied to org.hibernate.resource.jdbc.internal.ResourceRegistryStandardImpl when working on https://hibernate.atlassian.net/browse/HHH-9747

Furthermore, these two dangling methods are never used anywhere.

not 100% sure, though.


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.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 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: [4d8da77]

› This message was automatically generated.

LOG.debugf( "Unable to release JDBC statement [%s]", e.getMessage() );
}
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above method was copied to

LOG.debugf( "Unable to release JDBC result set [%s]", e.getMessage() );
}
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above method was copied to

@gavinking gavinking merged commit 6521ca9 into hibernate:main Nov 21, 2024
17 of 23 checks passed
@gavinking
Copy link
Member

Thanks @NathanQingyangXu, nice catch.

@NathanQingyangXu NathanQingyangXu deleted the remove-unused-release-statement-in-JdbcCoordinatorImpl branch November 21, 2024 23:50
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.

2 participants