Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cdd2f6c

Browse files
committedApr 15, 2025··
HHH-19348 Change scope of private methods in IdentifierLoadAccessImpl
For Hibernate Reactive Change scopes of some private methods, and small refactoring to avoid duplication in Hibernate Reactive. Related to hibernate/hibernate-reactive#2181
1 parent d385c4a commit cdd2f6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎hibernate-core/src/main/java/org/hibernate/loader/internal/IdentifierLoadAccessImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ protected T doGetReference(Object id) {
129129
concreteType.getEntityName(), lockOptions, isReadOnly( session ) );
130130
}
131131

132-
private Boolean isReadOnly(SessionImplementor session) {
132+
// Hibernate Reactive might need to call this
133+
protected Boolean isReadOnly(SessionImplementor session) {
133134
return readOnly != null
134135
? readOnly
135136
: session.getLoadQueryInfluencers().getReadOnly();

0 commit comments

Comments
 (0)
Please sign in to comment.