Skip to content

Conversation

@sebersole
Copy link
Member

@sebersole sebersole commented Mar 19, 2025

Drop forms of SchemaNameResolver performing reflection


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-19063

@sebersole sebersole changed the title HHH-19063 - Deprecate SchemaNameResolver HHH-19063 - Drop forms of SchemaNameResolver performing reflection Mar 20, 2025
@Override
public String resolveSchemaName(Connection connection, Dialect dialect) throws SQLException {
//noinspection deprecation
final String command = dialect.getCurrentSchemaCommand();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
Dialect.getCurrentSchemaCommand
should be avoided because it has been deprecated.
@sebersole sebersole merged commit 2eaa094 into hibernate:main Mar 21, 2025
22 of 25 checks passed
@sebersole sebersole deleted the jdbc-schema-name branch March 21, 2025 19:36
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