Skip to content

Conversation

@sebersole
Copy link
Member

@sebersole sebersole commented Sep 16, 2025

HHH-19782 - Oracle support for locking across joins

NOTE: Builds on top of #10752

[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.


https://hibernate.atlassian.net/browse/HHH-19602
https://hibernate.atlassian.net/browse/HHH-19782

}

default RootGraphImplementor createRootGraph(SharedSessionContractImplementor session) {
if ( getRepresentationStrategy() instanceof EntityRepresentationStrategyMap mapRep ) {

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'EntityRepresentationStrategyMap mapRep' is never read.
final Map<Object, EntityDetails> entityDetailsMap = resolveEntityKeys( entityKeys, executionContext );

entityMappingType.forEachAttributeMapping( (index, attributeMapping) -> {
if ( attributeMapping instanceof PluralAttributeMapping pluralAttributeMapping ) {

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'PluralAttributeMapping pluralAttributeMapping' is never read.

private final FollowOnLockingCreationStates creationStates;

private final List<Integer> statePositions = new ArrayList<>();

Check failure

Code scanning / CodeQL

Container contents are never accessed Error

The contents of this container are never accessed.
* @param jdbcConnection The JDBC Connection.
* @param executionContext Access to contextual information useful while executing.
*/
void performPostAction(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'jdbcStatementAccess' is never used.
* @param jdbcConnection The JDBC Connection.
* @param executionContext Access to contextual information useful while executing.
*/
void performPreAction(StatementAccess jdbcStatementAccess, Connection jdbcConnection, ExecutionContext executionContext);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'jdbcStatementAccess' is never used.
@sebersole sebersole closed this Sep 16, 2025
@sebersole sebersole deleted the ora-lock-across-joins branch September 16, 2025 20:14
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