Skip to content

Commit

Permalink
Fix compilation errors in ReactiveNaturalIdLoaderDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD authored and Sanne committed Mar 10, 2023
1 parent 8865cb5 commit 667a0ca
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.hibernate.LockOptions;
import org.hibernate.engine.jdbc.env.spi.JdbcEnvironment;
import org.hibernate.engine.jdbc.spi.JdbcServices;
import org.hibernate.engine.spi.LoadQueryInfluencers;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.loader.ast.internal.AbstractNaturalIdLoader;
Expand Down Expand Up @@ -238,16 +239,17 @@ public CompletionStage<Object> reactiveSelectByNaturalId(
lockOptions,
fetchProcessor,
true,
LoadQueryInfluencers.NONE,
sessionFactory
);

final TableGroup rootTableGroup = entityDescriptor().createRootTableGroup(
true,
entityPath,
null,
null,
() -> rootQuerySpec::applyPredicate,
sqlAstCreationState,
sessionFactory
sqlAstCreationState
);

rootQuerySpec.getFromClause().addRoot( rootTableGroup );
Expand Down

0 comments on commit 667a0ca

Please sign in to comment.