Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented May 22, 2025


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

@beikov beikov added the 6.6 label May 22, 2025
JdbcCoordinatorImpl jdbcCoord = (JdbcCoordinatorImpl) session.getJdbcCoordinator();
ResourceRegistry resourceRegistry = jdbcCoord.getLogicalConnection().getResourceRegistry();

session.createSelectionQuery( "select 1" ).uniqueResult();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducer.createSelectionQuery
should be avoided because it has been deprecated.
@beikov beikov merged commit 8bfec20 into hibernate:6.6 May 22, 2025
32 checks passed
@beikov beikov deleted the HHH-19477-6.6 branch May 22, 2025 13:57
@beikov beikov restored the HHH-19477-6.6 branch May 22, 2025 13:59
@beikov beikov deleted the HHH-19477-6.6 branch May 22, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant