Skip to content

Commit af81d7c

Browse files
committed
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 2f2247c commit af81d7c

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

+2-1
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)