diff --git a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/session/TransactionScopedStatelessSession.java b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/session/TransactionScopedStatelessSession.java index 5d52415fdb78a..2c12a0147b77d 100644 --- a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/session/TransactionScopedStatelessSession.java +++ b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/session/TransactionScopedStatelessSession.java @@ -360,7 +360,7 @@ public void refresh(String s, Object o, LockMode lockMode) { public void fetch(Object o) { checkBlocking(); try (SessionResult emr = acquireSession()) { - emr.statelessSession.refresh(o); + emr.statelessSession.fetch(o); } }