mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-23 11:47:40 +00:00
Remove duplicated code from ConcreteSqmSelectQueryPlan
This commit is contained in:
parent
820b815b35
commit
d810970489
@ -163,10 +163,8 @@ public List<R> performList(ExecutionContext executionContext) {
|
||||
final JdbcSelect jdbcSelect = sqmInterpretation.getJdbcSelect();
|
||||
jdbcSelect.bindFilterJdbcParameters( jdbcParameterBindings );
|
||||
|
||||
session.autoFlushIfRequired( jdbcSelect.getAffectedTableNames() );
|
||||
|
||||
try {
|
||||
session.autoFlushIfRequired( sqmInterpretation.getJdbcSelect().getAffectedTableNames() );
|
||||
session.autoFlushIfRequired( jdbcSelect.getAffectedTableNames() );
|
||||
return session.getFactory().getJdbcServices().getJdbcSelectExecutor().list(
|
||||
jdbcSelect,
|
||||
jdbcParameterBindings,
|
||||
|
Loading…
x
Reference in New Issue
Block a user