From 75765905cc7de7d15c78985f59c9d7939ddac1df Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Fri, 30 Sep 2022 18:00:46 +0100 Subject: [PATCH] HHH-15581 Add getters so that Hibernate Reactive can access the fields --- .../hibernate/loader/ast/internal/SingleIdLoadPlan.java | 8 ++++++++ .../results/jdbc/internal/DeferredResultSetAccess.java | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdLoadPlan.java b/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdLoadPlan.java index efd1530ba3..4b9b0e09ce 100644 --- a/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdLoadPlan.java +++ b/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdLoadPlan.java @@ -75,6 +75,14 @@ public class SingleIdLoadPlan implements SingleEntityLoadPlan { ); } + protected LockOptions getLockOptions() { + return lockOptions; + } + + protected List getJdbcParameters() { + return jdbcParameters; + } + @Override public Loadable getLoadable() { return persister; diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java b/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java index bce69e8953..145b07829d 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java @@ -140,6 +140,14 @@ public class DeferredResultSetAccess extends AbstractResultSetAccess { } } + public LimitHandler getLimitHandler() { + return limitHandler; + } + + public Limit getLimit() { + return limit; + } + @Override public ResultSet getResultSet() { if ( resultSet == null ) {