mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-8441 Hibernate is trying to add values to an Immutable List
This commit is contained in:
parent
6162a4b394
commit
cc550c08a8
@ -2600,7 +2600,9 @@ protected ScrollableResults scroll(
|
||||
if ( stats ) startTime = System.currentTimeMillis();
|
||||
|
||||
try {
|
||||
final SqlStatementWrapper wrapper = executeQueryStatement( queryParameters, true, Collections.<AfterLoadAction>emptyList(), session );
|
||||
// Don't use Collections#emptyList() here -- follow on locking potentially adds AfterLoadActions,
|
||||
// so the list cannot be immutable.
|
||||
final SqlStatementWrapper wrapper = executeQueryStatement( queryParameters, true, new ArrayList<AfterLoadAction>(), session );
|
||||
final ResultSet rs = wrapper.getResultSet();
|
||||
final PreparedStatement st = (PreparedStatement) wrapper.getStatement();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user